Package: effect
Module: Tuple
This function creates and returns a new Order for a tuple of values based on the given Orders for each element in the tuple.
The returned Order compares two tuples of the same type by applying the corresponding Order to each element in the tuple.
It is useful when you need to compare two tuples of the same type and you have a specific way of comparing each element
of the tuple.
Signature
declare const getOrder: <T extends ReadonlyArray<order.Order<any>>>(...elements: T) => order.Order<{ [I in keyof T]: [T[I]] extends [order.Order<infer A>] ? A : never; }>
Since v2.0.0