ComparatorResult
Defined in: comparators.ts:128
Outcome of consulting the registry for a pair of operands.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
matched |
boolean |
A registered comparator’s predicate matched at least one operand. | comparators.ts:130 |
order? |
0 | 1 | -1 |
-1 | 0 | 1 when the matched comparator produced a finite order; undefined if it threw or returned non-finite. |
comparators.ts:132 |