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

Method has

packages/db/src/SortedMap.ts:142–144  ·  view source on GitHub ↗

* Checks if a key exists in the map * * @param key - The key to check * @returns True if the key exists, false otherwise

(key: TKey)

Source from the content-addressed store, hash-verified

140 * @returns True if the key exists, false otherwise
141 */
142 has(key: TKey): boolean {
143 return this.map.has(key)
144 }
145
146 /**
147 * Removes all key-value pairs from the map

Callers 2

setMethod · 0.45
deleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected