1.0.4 • Published 3 years ago

is-104 v1.0.4

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
3 years ago

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
1.0.2

3 years ago

1.0.1

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago