Skip to content

standard-library/is

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Concise Object.is

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published