find Method
Access value for key
without registering recent use. Useful if you do not
want to change the state of the cache, but only "peek" at it.
@returns The value associated with key
if found, or undefined if not found.
find(key: K): V | undefined
Parameter | Type | Description |
---|---|---|
key | K |
Defined in
Last Updated: 08 January, 2020