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: 15 May, 2024