delete Method

Deletes a value using its key.

delete(key: K): boolean

Parameter Type Description
key K The key to delete

Returns - boolean

true if the key was found and deleted.

Defined in

Last Updated: 13 June, 2024