Pudu programming language
Menu
API reference

Std.Math.maxBy

1 declaration

fn

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

This is a callable function.

What it does

The larger 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