Skip to content

Greater than or equal to >=

The >= function is used to compare two values. It returns true if the first value is greater than or equal to the second value, otherwise it returns false.

 (>= 1 1)
true
 (>= 2 1)
true
 (>= 1 2)
false
 (>= [1 2 3] 1)
[true true true]
 (>= [1 2 3] [1 2 3])
[true true true]
 (>= [1 2 3] [1 2 4])
[true true false]