Comparison operators

Syntax

…expr… >= …expr…

…expr… <= …expr…

Typing

t, t -> BOOL

Description

Non-strict comparison operators.

Values of any type can be compared, but both values must have the same type.

Examples

expression evaluates to
1 >= 0 TRUE
1 >= 1 TRUE
TRUE >= FALSE TRUE
"foo" <= "bar" FALSE
(5; 1) <= (5; 2) TRUE

See Also

Equality test Comparison operators