array exists

array exists indicates whether a variable exists in an array.

Synopsis

array exists arrayName

Description

Returns 1 if arrayName is an array variable, or 0 if there is no variable by that name or if the variable is not an array variable.