has Method

Determines if an entry exists for the specified key

has(key: K): boolean

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: 12 June, 2024