* 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: any, y: any)
| 12 | * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| 13 | */ |
| 14 | function is(x: any, y: any) { |
| 15 | return ( |
| 16 | (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y) // eslint-disable-line no-self-compare |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | const objectIs: (x: any, y: any) => boolean = |
| 21 | // $FlowFixMe[method-unbinding] |
no outgoing calls
no test coverage detected