'&&, '||
Synchronous logical AND and OR operators.
Syntax
'&&
'||
Options
Inlets
- param1
- The left inlet. Any value received via this inlet is compared to the value in the right inlet param2, and the result is sent via the outlet result.
- Type: Boolean or Integer
- param2
- The right inlet. Any value received via this inlet compared to the value in the left inlet param1.
- Type: Boolean or Integer
Outlets
- result
- Type: Boolean or Integer
Comments
The AND and OR operators only accept Integers or Booleans as input.
These operators only output a result when new values have been received by both inlets. Thus, if a new value is received by param1, no result will be computed until a value is received by param2 as well. If this is not the behavior you want, try the the && or || operator instead.
See Also
- &&, ||
- Expr