Negate
Ce contenu n’est pas encore disponible dans votre langue.
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
Section titled “Inputs”| Port | Description |
|---|---|
| Input value to negate. |
Outputs
Section titled “Outputs”| Port | Description |
|---|---|
| Negated value of the input. |
Addendum
Section titled “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: core/negate@v1