Skip to content

Negate

Negate the input. Input must be of type array, string, number, or bool. Any other input type will result in an error during runtime.

Inputs#

Port Description
Input value to negate.

Outputs#

Port Description
Negated value of the input.

Addendum#

Data Type Example Value Boolean Return
invalid port type: array [1, 2, 3] false
"hello" false
42 false
true false
invalid port type: array [] true
"" true
0 true
false true

ID: negate@v1