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

Method isEmpty

packages/db-ivm/src/operators/topKState.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 get isEmpty(): boolean {
30 return this.#multiplicities.size === 0 && this.#topK.size === 0
31 }
32
33 /**
34 * Process an element update (insert or delete based on multiplicity change).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected