delete Method

Remove entry key from cache and return its value.

delete(key: K): undefined | V

Parameter Type Description
key K  

Returns - undefined | V

The removed value, or undefined if not found.

Defined in

Last Updated: 12 June, 2024