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

Function unkey

packages/db-ivm/src/operators/keying.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 * Removes the key from a keyed stream
21 */
22export function unkey<K, V>(): PipedOperator<Keyed<K, V>, V> {
23 return map(([_, value]: Keyed<K, V>): V => value)
24}
25
26/**
27 * Takes a keyed input and rekeys it with a new key

Callers 2

keying.test.tsFile · 0.85

Calls 1

mapFunction · 0.85

Tested by

no test coverage detected