({ ends: l }: Facts, { ends: r }: Facts)
| 286 | // whether a range of one ends where a range of the other starts, wherever each |
| 287 | // holds it |
| 288 | const meet = ({ ends: l }: Facts, { ends: r }: Facts) => |
| 289 | !!l && |
| 290 | !!r && |
| 291 | (l.highs.some(n => r.lows.includes(n)) || |
| 292 | l.lows.some(n => r.highs.includes(n))) |
| 293 | |
| 294 | /** what an inclusive range is, which any way of writing it is one Type */ |
| 295 | const rangeFacts = ( |
no outgoing calls
no test coverage detected