UNPKG

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