MCPcopy Create free account
hub / github.com/TanStack/db / getItem

Function getItem

packages/db/src/local-storage.ts:202–204  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

200
201 return {
202 getItem(key: string): string | null {
203 return storage.get(key) ?? null
204 },
205 setItem(key: string, value: string): void {
206 storage.set(key, value)
207 },

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected