UNPKG

350 BJavaScriptView Raw
1/**
2 * @ignore
3 */
4export function comparer(x, y) {
5 return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
6}
7/**
8 * @ignore
9 */
10export async function comparerAsync(x, y) {
11 return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
12}
13
14//# sourceMappingURL=comparer.mjs.map