@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
15 lines (13 loc) • 350 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