object.is
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/object.is package

1.0.0 • Public • Published

object.is

Object.is() ponyfill

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

Package Sidebar

Install

npm i object.is

Weekly Downloads

8

Version

1.0.0

License

CC0-1.0

Last publish

Collaborators

  • m59