Type Alias: CompareByComparator()<ElementType>
CompareByComparator<
ElementType> = (x:Exclude<ElementType,undefined>,y:Exclude<ElementType,undefined>) =>number
Defined in: projects/utilities/packages/iterator-utilities/src/lib/shared/_compare.ts:15
Type Parameters
| Type Parameter |
|---|
ElementType |
Parameters
| Parameter | Type |
|---|---|
x | Exclude<ElementType, undefined> |
y | Exclude<ElementType, undefined> |
Returns
number