contains

external fun contains(key: String): Boolean(source)

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


external fun contains(key: Int): Boolean(source)