ix
Version:
The Interactive Extensions for JavaScript
16 lines (14 loc) • 364 B
JavaScript
;
/**
* @ignore
*/
export function comparer(x, y) {
return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
}
/**
* @ignore
*/
export async function comparerAsync(x, y) {
return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
}
//# sourceMappingURL=comparer.mjs.map