@steven-y/is-odd

1.0.1 • Public • Published

is-odd

return the boolean value of Number X is or not odd.

Install

npm i --save @steven-y/is-odd

Usage

const { isOdd } = require("is-odd");

console.log(isOdd(1024));
// -> true

Caution

DO NOT SUPPORT number larger than 9007199254740991

Package Sidebar

Install

npm i @steven-y/is-odd

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.25 kB

Total Files

5

Last publish

Collaborators

  • steven-y