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

Method minPair

packages/db/src/utils/btree.ts:715–717  ·  view source on GitHub ↗
(reusedArray: [K, V])

Source from the content-addressed store, hash-verified

713 }
714
715 minPair(reusedArray: [K, V]): [K, V] | undefined {
716 return this.children[0]!.minPair(reusedArray)
717 }
718
719 maxPair(reusedArray: [K, V]): [K, V] | undefined {
720 return this.children[this.children.length - 1]!.maxPair(reusedArray)

Callers

nothing calls this directly

Calls 1

minPairMethod · 0.45

Tested by

no test coverage detected