isNull
Last updated
Last updated
Validates a value if it is null
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
value | the value to validate. | Any | - | - | Yes |
Description | Output Type |
---|---|
Returns the validation value. | Boolean |
In this example, we will check whether a value is null and print the result in the console.
Drag a button
component into the canvas and open the Action
tab. Select the press
event of the button and drag the console
function to the event flow.
Call the function isNull
inside the console
function.
Enter the value to be validated. In this example, we will enter the value "12".
The console will print false
since it's not a null value.