number_is_***


number_is_eq(num1, ...) 
number_is_lt(num1, ...)
number_is_gt(num1, ...)
number_is_lteq(num1, ...)
number_is_gteq(num1, ...)
      

Compare an arbitary number of numeric values. Return true if the relation holds, otherwise return false.

Number_is_eq return true if all its arguments are equal.

Number_is_lt return true if their arguments are monotonically increasing, i.e., each argument is greater than the preceding ones.

Number_is_gt return true if their arguments are monotonically decreasing, i.e., each argument is less than the preceding ones.

Number_is_lteq return true if their arguments are monotonically nondecreasing, i.e., each argument is not less than the preceding ones.

Number_is_lteq return true if its arguments are monotonically non-increasing.

Examples:


number_is_eq(7, 7)
// true
number_is_lteq(1, 2, 3, 3, 4, 5)
// true
      

Also see:

compare
is_equal


Core Module Index | Contents