isset

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

This function does not generate an event.

Function

isset(value)

Arguments

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

Return value

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

Example

This code shows some return values for isset():

[
    isset( [] ),
    isset( set() ),
];

Return value in JSON format

[
    false,
    true
]