two-equals

    1.1.0 • Public • Published

    two-equals

    npm npm

    Function for check if two values are equals.

    Installation

    With the simple command npm install two-equals.

    Usage

    The function takes only two arguments.

    Example:

    const equals = require('two-equals');
     
    equals({}, { bar: 12}); // false
    equals([], [1, 33.2]); // false
    equals({ foo: 12 }, { foo: 12 }); // true
    equals([1, 33, false], [1, 33, false]); // true

    Test

    You should have installed globaly jasmine-node for test this package, then execute npm run test.

    License

    MIT

    Keywords

    Install

    npm i two-equals

    DownloadsWeekly Downloads

    10

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • rich-97