RAD function: min

A RAD function that returns the smallest element in a list of values or arrays.

Function

min

Format

min(element1, element2, element3, ...)

Or:

min($variable)

Where the $variable variable is an array or a list of values.

Factors

  • The min function returns the minimum value of either times or numbers.
  • If you include an array in the list of elements, ITSMA Service Management evaluates all elements in the array as individual values.
  • An attempt to use an array of strings as a parameter results in a segmentation fault, which will cause the application to exit in error.

Example

min(17,24,35,73,10) returns 10.

min(4,{1,2,3,},2) returns 1.