Type Alias: Compare()<Value>
Compare<
Value
>: (left
,right
) =>number
A function that compares two values of type Value
.
A return value:
- Less than zero implies
left < right
- Equal to zero implies
left === right
- Greater than zero implies
left > right
Type Parameters
• Value
Parameters
• left: Value
• right: Value
Returns
number