0.1.2 • Published 12 months ago

@toshimichi/iseven v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

iseven

Checks if the number is even.

(Note: this is a joke package and should not be used in production. This package exists for the sole purpose of demonstrating how to publish a package to npm.)

Install

npm install iseven

Usage

import isEven from "iseven";

isEven(2); // true
isEven(3); // false
isEven("2"); // true
isEven("3"); // false
isEven(() => "2"); // true
isEven(() => "3"); // false
isEven(async () => "2"); // true
isEven(async () => "3"); // false
0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago