Package: effect
Module: Ordering
Reducer for combining Orderings.
When to use
Use to combine multiple comparison results in priority order, such as checking secondary criteria only when earlier criteria compare as equal.
Details
If any of the Orderings is non-zero, the result is the first non-zero Ordering.
If all the Orderings are zero, the result is zero.
Gotchas
combineAll stops consuming the iterable as soon as it finds a non-zero
Ordering.
Signature
declare const Reducer: Reducer_.Reducer<Ordering>
Since v4.0.0