JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171084
  • Score
    100M100P100Q190914F
  • License MIT

Return true if the given number is even.

Package Exports

  • is-even

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-even) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-even NPM version

Return true if the given number is even.

Install with npm

npm i is-even --save

Usage

var isEven = require('is-even');

isEven(0);
//=> true
isEven('1');
//=> false
isEven(2);
//=> true
isEven('3');
//=> false

Run tests

Install dev dependencies:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the license


This file was generated by verb on February 24, 2015.