is-104

1.0.4 • Public • Published

is-104

Returns true if the given number is exactly 104.

Install

Install with npm:

$ npm install --save is-104

Usage

Works with strings or numbers.

const is104 = require('is-104');

console.log(is104(1)); //=> false
console.log(is104(42)); //=> false
console.log(is104('42')); //=> false
console.log(is104(-18)); //=> false
console.log(is104(1936.27)); //=> false
console.log(is104('three')); //=> false

console.log(is104(104)); //=> true
console.log(is104(1.04e2)); //=> true
console.log(is104('104')); //=> true

Running Tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

Readme

Keywords

none

Package Sidebar

Install

npm i is-104

Weekly Downloads

5

Version

1.0.4

License

MPL-2.0

Unpacked Size

4.45 kB

Total Files

4

Last publish

Collaborators

  • acappato