Math.Min

Returns the lesser of two values.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
xSeries<Number>--
ySeries<Number>--

Returns: Series<Number>

Math.Min is a built-in function - you can use it directly. Below is an example implementation:

1 function Math.Min(x, y): x if x <= y else y