Skip to content

Commit

Permalink
fix(comparer): fixes bug with comparer
Browse files Browse the repository at this point in the history
Fixes the bug with the comparer
  • Loading branch information
mattpodwysocki authored Oct 15, 2017
1 parent c6a67eb commit 4098a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/comparer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
/**
* @ignore
*/
export function comparer(a: any, b: any) {
export function comparer(x: any, y: any) {
return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
}

/**
* @ignore
*/
export async function comparerAsync(a: any, b: any) {
export async function comparerAsync(x: any, y: any) {
return x === y || (typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y));
}

0 comments on commit 4098a8c

Please sign in to comment.