UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

10 lines (7 loc) 163 B
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