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

Method minKey

packages/db/src/utils/btree.ts:470–472  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468 // Leaf Node: misc //////////////////////////////////////////////////////////
469
470 minKey(): K | undefined {
471 return this.keys[0]
472 }
473
474 minPair(reusedArray: [K, V]): [K, V] | undefined {
475 if (this.keys.length === 0) return undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected