Logical Operations

Condition evaluation, testing for true or false

Functions

all Determine whether all array elements are nonzero
and Find logical AND of array or scalar inputs
any Determine whether any array elements are nonzero
not Find logical NOT of array or scalar input
or Find logical OR of array or scalar inputs
xor Logical exclusive-OR
Was this topic helpful?