are-strictly-equal
v1.0.0
Published
Are strictly equal
Downloads
128
Readme
are-strictly-equal
Forget the ===
operator. Use are-strictly-equal
.
const eee = require("are-strictly-equal") // yes you have to call it eee because e stands for equal and there are three equal signs in ===
eee(1, 1) // true
eee("1", 1) // false
eee({ foo: "bar" }, 4) // false
eee({ quux: "duck" }, { quux: "duck" }) // false