Type Alias: AsyncCompare()<Value>
AsyncCompare<
Value
> = (left
,right
) =>MaybePromiseLike
<number
>
Defined in: statistics.d.ts:267
A function that compares two values of type Value
possibly asynchronously.
A return value that awaits to:
- Less than zero implies
left < right
- Equal to zero implies
left === right
- Greater than zero implies
left > right
Type Parameters
Value
Value
Parameters
left
Value
right
Value
Returns
MaybePromiseLike
<number
>
Since
v0.0.2