Wilang Documentation1.0.0+4

smaller#

Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not. Comparing a value with NaN returns false.

Available in: math cells, REPL.

Syntax#

x < y
smaller(x, y)

Arguments and behavior#

Use the callable form shown in the example. Matrix dimensions must agree for matrix operations. Scalar comparison produces a boolean.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
smaller(1,2)

Expected result: true.

See also#

equal · unequal · larger · smallerEq · largerEq · compare

All functions · Math guides