1.0.0 • Published 8 years ago

@standard-library/is v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

is

When Object.is is too many keystrokes.

Installation

yarn add @standard-library/is

Usage

Use anywhere you might otherwise want to check equality. Never again use the vastly inferior === and ==. Also: functional.

const is = require("@standard-library/is");

is(1, 1);
// => true

is(1, 2);
// => false

[true, true, true, true].reduce(is, true);
// => true