Skip to content

Typed API (TypeDoc)


Typed API (TypeDoc) / Comparator

Type Alias: Comparator()<E> ​

Comparator<E> = (e1, e2) => Ordering

Defined in: index.ts:23

Type Parameters ​

E ​

E

Value type.

Parameters ​

e1 ​

E

First element.

e2 ​

E

Second element.

Returns ​

Ordering

Ordering describing the relative order.

Since ​

2.0.0

Built with VitePress – Released under the MIT License.