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

Method constructor

packages/db-ivm/src/multiset.ts:17–19  ·  view source on GitHub ↗
(data: MultiSetArray<T> = [])

Source from the content-addressed store, hash-verified

15 #inner: MultiSetArray<T>
16
17 constructor(data: MultiSetArray<T> = []) {
18 this.#inner = data
19 }
20
21 toString(indent = false): string {
22 return `MultiSet(${JSON.stringify(this.#inner, null, indent ? 2 : undefined)})`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected