@cromarmot/is-number-one

1.0.2 • Public • Published

isNumberOne

License: GPL v3

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

/@cromarmot/is-number-one/

    Package Sidebar

    Install

    npm i @cromarmot/is-number-one

    Weekly Downloads

    0

    Version

    1.0.2

    License

    GPL-3.0-or-later

    Unpacked Size

    3.05 kB

    Total Files

    4

    Last publish

    Collaborators

    • cromarmot