Wilang Documentation1.0.0+4

equal#

Check equality of two values. Returns true if the values are equal, and false if not.

Available in: math cells, REPL.

Syntax#

x == y
equal(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
equal(2,2)

Expected result: true.

See also#

unequal · smaller · larger · smallerEq · largerEq · compare · deepEqual · equalText

All functions · Math guides