( l: Ends | undefined, r: Ends | undefined )
| 247 | |
| 248 | // each once, however many of what it holds end there |
| 249 | const joinEnds = ( |
| 250 | l: Ends | undefined, |
| 251 | r: Ends | undefined |
| 252 | ): Ends | undefined => |
| 253 | l && r ? |
| 254 | { |
| 255 | lows: [...new Set([...l.lows, ...r.lows])], |
| 256 | highs: [...new Set([...l.highs, ...r.highs])] |
| 257 | } |
| 258 | : (l ?? r) |
| 259 | |
| 260 | const holding = (...held: Facts[]): Holding => { |
| 261 | let bits = 0 |
no outgoing calls
no test coverage detected