Pudu programming language
Menu
API reference

Std.Order.thenBy

1 declaration

fn

thenBy: Std.Order.Ordering -> Std.Order.Ordering -> Std.Order.Ordering

This is a callable function.

What it does

The first ordering unless it is Equal, in which case the second.

This is how a comparison on one field falls through to the next.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.OrderSearch related declarations