1.0.3 • Published 3 years ago

is-odd-and-even v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

is-odd-and-even NPM version NPM monthly downloads NPM total downloads

Determines if a given number is odd and even


Installation

Install it with npm:

$ npm i is-odd-and-even

Usage

It can work both with strings and numbers

import isOddAndEven from 'is-odd-and-even'

console.log(isOddAndEven('1')) // false
console.log(isOddAndEven('2')) // false

console.log(isOddAndEven(3)) // false
console.log(isOddAndEven(4)) // false

License

Copyright © 2022, fabrisdev. Released under the MIT License.


1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago