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

Function getValue

packages/db-ivm/src/operators/topKArray.ts:16–18  ·  view source on GitHub ↗
(indexedVal: IndexedValue<V>)

Source from the content-addressed store, hash-verified

14}
15
16export function getValue<V>(indexedVal: IndexedValue<V>): V {
17 return indexedVal[0]
18}
19
20export function getIndex<V>(indexedVal: IndexedValue<V>): FractionalIndex {
21 return indexedVal[1]

Callers 3

insertMethod · 0.70
deleteMethod · 0.70
#findIndexMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected