Skip to content

CustomArrayDictImpl.contains method

CustomArrayDictImpl › contains

Unofficial

Check whether the array for the given key contains the specified value.

Signature:

contains(key: string, value: T): boolean

Parameters:

Parameter Type Description
key string The key.
value T The value to check.

Returns: booleanWhether the value exists.