Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/velo/src/caches/lru.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/src/caches/lru.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