(tuple: Array<any>)
| 105 | * consolidation of join results like ['A', null] and [null, 'X']. |
| 106 | */ |
| 107 | const getTupleId = (tuple: Array<any>): string => { |
| 108 | if (tuple.length !== 2) { |
| 109 | throw new Error(`Expected tuple of length 2`) |
| 110 | } |
| 111 | const [first, second] = tuple |
| 112 | return `${globalObjectIdGenerator.getStringId(first)}|${globalObjectIdGenerator.getStringId(second)}` |
| 113 | } |
| 114 | |
| 115 | // Process each item in the multiset |
| 116 | for (const [data, multiplicity] of this.#inner) { |
nothing calls this directly
no test coverage detected