is-even-odd-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

is-even-odd-ts


Usage

Javascript

const {isEven, isOdd} = require("is-even-odd-ts");

isEven(10); //true
isEven(13); //false
isOdd(10); //false
isOdd(11); //true

Typescript

import {isEven, isOdd} from "is-even-odd-ts";

isEven(10); //true
isEven(13); //false
isOdd(10); //false
isOdd(11); //true

Readme

Keywords

Package Sidebar

Install

npm i is-even-odd-ts

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

2.1 kB

Total Files

7

Last publish

Collaborators

  • rafael2000