and#
Logical and. Test whether two values are both defined with a nonzero/nonempty value.
Available in: math cells, REPL.
Syntax#
x and y
and(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
and(true,false)Interactive examples could not load. You can still copy the expressions.
Expected result: false.