Skip to content

tnk-rin/better-is-even

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

better-is-even
NPM Version NPM monthly downloads NPM Total Downloads

The better implementation of is-even™

Install

npm install @tnk-rin/better-is-even

Usage

const isEven = require('@tnk-rin/better-is-even');

isEven(16);
// > true
isEven("15-2");
// > [false, true]
isEven(2);
// > true
isEven(false);
// > true
isEven([12, 15, 3, 26, 20]);
// > [true, false, false, true, true]

About

The better implementation of is-even™

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published