has Method

Determines if an entry exists for the specified key

has(key: K): boolean

@returns true if an entry exists in this dictionary corresponding to the specified key.

Parameter Type Description
key K The key to search for

Returns - boolean

true if an entry exists in this dictionary corresponding to the specified key.

Defined in

Last Updated: 23 November, 2024