math.is_increasing
math.is_increasing(num1, num2, num3)
Description
Takes a list of numeric values (integers or doubles) and returns True if
the values are in ascending order, and False otherwise.
Param data types
INT|FLOAT, INT|FLOAT, INT|FLOAT
Return type
BOOL
Code samples
Example 1
This example includes timestamp-like values in seconds.
math.is_increasing(1716769112, 1716769113, 1716769114) = true
Example 2
This example includes one negative double, one zero INT64, and one positive INT64 values.
math.is_increasing(-1.200000, 0, 3) = true
Example 3
This example includes one negative double, one zero INT64, and one negative INT64 values.
math.is_increasing(0-1.200000, 0, 0-3) = false
Example 4
This example includes two negative doubles and one zero INT64 value.
math.is_increasing(0-1.200000, 0-1.50000, 0) = false
Example 5
This example includes one negative double and two values that are the same.
math.is_increasing(0-1.200000, 0, 0) = false