isnil

This function determines whether the provided value is nil.

This function does not generate an event.

Function

isnil(value)

Arguments

Argument Type Description
value any (required) The value to be tested.

Return value

Returns true if the given value is nil, else false.

Example

This code shows some return values for isnil():

[
    isnil( nil ),
    isnil( 0 ),
];

Return value in JSON format

[
    true,
    false
]