1.0.3 • Published 2 years ago

is-odd-and-even v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
2 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

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago