neg Reference

Logical inversion operator

neg

Examples

Inlets

Input [number]

Input to be inverted.

Outlets

Inverted output [number]

Returns an inverted version of the input.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

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

in1 [number]

Input to be inverted.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
not Logical negation operator
neq Not equals operator