Pudu programming language
Menu
API reference

Std.Order.toInt

1 declaration

fn

toInt: Std.Order.Ordering -> Int

This is a callable function.

What it does

An ordering as a whole number: -1, 0, or 1.

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