UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

10 lines (6 loc) 270 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); function isEqualsSameValueZero(value, other) { return value === other || (Number.isNaN(value) && Number.isNaN(other)); } exports.isEqualsSameValueZero = isEqualsSameValueZero;