Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/velo/mod.ts>LRU#get

Performant Cache implementations for Deno. Supports LRU, LFU, ARC and other caching policies.
Go to Latest
method LRU.prototype.get
import { LRU } from "https://deno.land/x/velo@0.1.5/mod.ts";

Gets the value for a given key

Parameters

key: Key

The entries key

Returns

V | undefined

The element with given key or undefined if the key is unknown