Functions
eq core
fn (a: Any, b: Any)
Return true if a is equal to b.
Example
eq(1, 1) // true
eq(1, 2) // false
eq("hi", "hi") // true
eq([1, 2], [1, 2]) // true
gt core
fn (a: Int | Dec, b: Int | Dec)
Return true if a is greater than b.
Example
gt(5, 3) // true
gt(3, 5) // false
gt(3, 3) // false
gt(2.5, 2) // true
gte core
fn (a: Int | Dec, b: Int | Dec)
Return true if a is greater than or equal to b.
Example
gte(5, 3) // true
gte(3, 3) // true
gte(2, 5) // false
lt core
fn (a: Int | Dec, b: Int | Dec)
Return true if a is less than b.
Example
lt(3, 5) // true
lt(5, 3) // false
lt(3, 3) // false
lte core
fn (a: Int | Dec, b: Int | Dec)
Return true if a is less than or equal to b.
Example
lte(3, 5) // true
lte(3, 3) // true
lte(5, 3) // false
ne core
fn (a: Any, b: Any)
Return true if a is not equal to b.
Example
ne(1, 2) // true
ne(1, 1) // false
ne("a", "b") // true