Returns a logical value that indicates if the specified character expression is the key of an element in an associative array.

Syntax

<oRef>.isKey(<expC>)

<oRef>

A reference to the associative array you want to search.

<expC>

The character string you want to find.

Property of

AssocArray

Description

Use isKey(<expC>) to determine if the specified character expression, <expC>, is the key of an element in an associative array. In associate arrays, an element's Key character expression is case-sensitive.

Attempting to access a non-existent key character expression in an associative array, will generate an error.