delete Method

Remove entry key from cache and return its value.

delete(key: K): V | undefined

Parameter Type Description
key K  

Returns - V | undefined

The removed value, or undefined if not found.

Defined in

Last Updated: 15 June, 2021