コンテンツにスキップ

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.

PortDescription
Input value to negate.
PortDescription
Negated value of the input.
Data TypeExample ValueBoolean Return
invalid port type: array[1, 2, 3]false
"hello"false
42false
truefalse
invalid port type: array[]true
""true
0true
falsetrue

ID: core/negate@v1