&&, ||

Logical AND and OR operators.

Syntax

&& rval
|| rval

Options

Inlets

Outlets

Comments

The AND and OR operators only accept Integers or Booleans as input.

These operators output a result whever a new value is received via the left inlet param1, using the new value of param1 and the most recent value of param2, or the optional initial argument if no value has yet been received for param2. If you want to wait until both param1 and param2 receive new input values before computing a result, use the synchronous operators '&& and '|| instead.

See Also

'&&, '||
Expr