MCPcopy Create free account
hub / github.com/microsoft/SandDance / is

Function is

docs/external/js/react-dom.development.js:9672–9675  ·  view source on GitHub ↗

* inlined Object.is polyfill to avoid requiring consumers ship their own * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is

(x, y)

Source from the content-addressed store, hash-verified

9670 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
9671 */
9672 function is(x, y) {
9673 return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
9674 ;
9675 }
9676
9677 var objectIs = typeof Object.is === 'function' ? Object.is : is;
9678

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected