Pudu programming language
Menu
API reference

Std.Math.minBy

1 declaration

fn

minBy: T -> T -> fn(T, T) -> Bool -> T

This is a callable function.

What it does

The smaller of two values, chosen by a comparison the caller supplies.

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.MathSearch related declarations