An npm package to check if a number is equal to 13.
Installation
npm --save i is-thirteen
or
yarn add is-thirteen
Usage
constisThirteen=require('is-thirteen')
// PLEAS READ THE SOURCE CODE BECAuse we moved fast and broke things
i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶2̶5̶)̶;̶ ̶/̶/̶ ̶f̶a̶l̶s̶e̶
i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶1̶3̶)̶;̶ ̶/̶/̶ ̶t̶r̶u̶e̶
constis=require('is-thirteen')
// Now with elegant syntax.is(13).thirteen(); // trueis(12.8).roughly.thirteen(); // trueis(6).within(10).of.thirteen(); // trueis(2003).yearOfBirth(); // true// check your math skillzis(4).plus(5).thirteen(); // falseis
How many ways are there to check if something is
13
? More than you might think.jezen / is-thirteen
Check if a number is equal to 13.
Special thanks to @casdr for the logo
is-thirteen
An npm package to check if a number is equal to 13.
Installation
or
Usage