1.0.0 • Published 7 years ago
object.is v1.0.0
object.is
use the built-in
If you don't need to support Internet Explorer, you probably do not need this package. Object.is()
is supported in most environments. Just use Object.is()
directly.
install
$ npm install object.is
example
const is = require('object.is')
is('foo', 'foo') // => true
is(NaN, 0 / 0 ) // => true
1.0.0
7 years ago