System.Min - Manhunter07/MFL GitHub Wiki

Declaration

function Min(Value &&): any = \built-in\

Description

The Min function in the System returns the lowest of the values passed as arguments. All values passed as arguments to Value must be comparable to each other and must be of a value type that supports less-than comparisons.

Remarks

  • The function uses the less-than operator (?<) for comparison
  • If the function encounters incomparable value types for arguments, an exception is raised
  • If the function encounters values that do not support less-than comparisons, an exception is raised
  • This function accepts any amount of arguments

See also