max
..Root.algorithm.max
Returns the greater of the given variables (or first if they are equal)
Parameters: Type1
a, Type2
b ( Type1
must have >=
method taking Type2
instance as argument)
Return value: greater of a and b
Object
, Callable
, BlockCallable
import("algorithm");
log(algorithm.max(1, 2));