Validation.isNull
Last updated
Validates a value if it is null
value
The value to to validate.
Any
-
-
Yes
Returns the validation value.
Boolean
N/A
Coming Soon.
In this example, we will check whether a value is null and get the validation using Validation.isNull and Result.setApi function.
Create an api and select on any api method tab, and select the secondary tab Result. Select json format and add new json key isNull as the key with boolean type.

Select the secondary tab Action, Call the function Result.setApi and change the param type of isNull to subflow/function, drag Validation.isNull on it and add notnull value on it's value param.

Select the secondary tab Test, click on run button and check the json response, it will show {"isNull": false} because notnull is not a null value.

Last updated