standard.lang.serialize.IsSet

IsSet is available since version 1.0.

Prototype:

boolean IsSet(array array,number|string elementID)

Parameters

array
the array
elementID
an array index(as a number) or an array key(as a string)

Description:

Checks whether an array has a specific element identified by its index or key.

Return value:

Returns true if an array has the element or false otherwise.