islist

This function determines whether the provided value is a list or not.

This function does not generate an event.

Function

islist(value)

Arguments

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

Return value

Returns true if the given value is a list, else it returns false.

Example

This code shows some return values for islist():

[
    islist( [] ),
    islist( tmp = [['nested']] ),
    islist( tmp[0] ),
];

Return value in JSON format

[
    true,
    true,
    false
]