8000 GitHub - CroMarmot/isNumberOne: isNumberOne is a low efficiency library to test if the given number is 1.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CroMarmot/isNumberOne

Repository files navigation

isNumberOne

License: GPL v3

CircleCI

isone is a low efficiency library to test if the given number is 1 implement with Unit function.

ins meme

install

yarn add @cromarmot/is-number-one

Usage

const isOne = require('@cromarmot/is-number-one');

isOne(1); // Returns true

isOne(-1); // Returns false

isOne(null); // Returns false

isOne("1"); // Returns false

Test

yarn test

Will take a long time

References

Unit_function

Möbius_inversion_formula

About

isNumberOne is a low efficiency library to test if the given number is 1.

Resources

Stars

Watchers

Forks

Packages

No packages published
0