MCPcopy
hub / github.com/vercel/hyper / values

Function values

lib/utils/object.ts:5–10  ·  view source on GitHub ↗
(imm: Record<string, any>)

Source from the content-addressed store, hash-verified

3const valsCache = new WeakMap();
4
5export function values(imm: Record<string, any>) {
6 if (!valsCache.has(imm)) {
7 valsCache.set(imm, Object.values(imm));
8 }
9 return valsCache.get(imm);
10}
11
12const keysCache = new WeakMap();
13export function keys(imm: Record<string, any>) {

Callers

nothing calls this directly

Calls 3

hasMethod · 0.80
setMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected