1.3.0 • Published 7 months ago

even-or-odd-faster v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

num-is-even-or-odd

Return "even" or "odd" when given a number.

Install

Install with npm:

$ npm install even-or-odd-faster

Important

Currently supports only positive numbers, smaller than 69000 !

Usage

Works with numbers.

You need to pass number to function "IsEvenOrOdd", if given something other than number it will return 'false'

const even = require('even-or-odd-faster')

// Whitout any return type parameter

console.log(IsEvenOrOdd(1)) //=> "odd"
console.log(IsEvenOrOdd(2)) //=> "even"

Author

lasgra


1.3.0

7 months ago

1.2.4

7 months ago

1.2.3

7 months ago

1.2.2

7 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago