Skip to content

then

In std/collections.

fn then(self: Ordering, next: Ordering) : Ordering

self where it is Less or Greater, and next where it is Equal: a comparison that a second one decides on a tie. compare(1, 1) | then(compare("a", "b")) is Less; next is evaluated only on a tie.