and~ Reference

logical AND operator

and~

Examples

Inlets

Left Operand [auto]

Performs the operation with the value currently stored. If there is no argument, && initially holds `0`.

Right Operand [auto]

The value is compared to the value in the left inlet to determine output but only a value in the left inlet will trigger output.

Outlets

Left || Right [signal]

If either the value in the left inlet or the value in the right inlet (or specified by the argument) is not `0`, then the output is `0`. Otherwise, the output is `1`.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [auto]

Performs the operation with the value currently stored. If there is no argument, && initially holds `0`.

in2 [auto]

The value is compared to the value in the left inlet to determine output but only a value in the left inlet will trigger output.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
or Performs a logical OR
not Logical negation operator