contains

Determines if the provided key is in the array.

Return

true if the key is in the array, false otherwise.

Parameters

key

The key to check.

See also