Skip to main content
Module

x/rambda/source/_internals/objectIs.js

Faster and smaller alternative to Ramda
Latest
File
function _objectIs(a, b){ if (a === b){ return a !== 0 || 1 / a === 1 / b }
return a !== a && b !== b}
export const objectIs = Object.is || _objectIs