MCPcopy Index your code
hub / github.com/TanStack/db / get

Method get

packages/db/src/SortedMap.ts:115–117  ·  view source on GitHub ↗

* Gets a value by its key * * @param key - The key to look up * @returns The value associated with the key, or undefined if not found

(key: TKey)

Source from the content-addressed store, hash-verified

113 * @returns The value associated with the key, or undefined if not found
114 */
115 get(key: TKey): TValue | undefined {
116 return this.map.get(key)
117 }
118
119 /**
120 * Removes a key-value pair from the map

Callers 6

indexOfMethod · 0.45
setMethod · 0.45
deleteMethod · 0.45
[Symbol.iterator]Method · 0.45
valuesMethod · 0.45
forEachMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected