Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/velo/src/caches/slru.ts>SLRU#has

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

Checks if a given key is in the cache

Parameters

key: Key

The key to check