Skip to content

Affirm

Affirm 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 affirm.

Outputs#

Port Description
Affirmed value of the input.

Addendum#

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

ID: affirm@v1