(...held: Facts[])
| 258 | : (l ?? r) |
| 259 | |
| 260 | const holding = (...held: Facts[]): Holding => { |
| 261 | let bits = 0 |
| 262 | let ends: Ends | undefined |
| 263 | for (const f of held) { |
| 264 | bits |= holds(f) |
| 265 | ends = joinEnds(ends, f.ends) |
| 266 | } |
| 267 | return { |
| 268 | narrowedWithin: (bits & holdsNarrow) !== 0, |
| 269 | unitsWithin: (bits & holdsUnit) !== 0, |
| 270 | ends |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | /** the ends of a range that includes its bounds */ |
| 275 | const endsOf = ( |
no test coverage detected