( min: number | undefined, max: number | undefined )
| 273 | |
| 274 | /** the ends of a range that includes its bounds */ |
| 275 | const endsOf = ( |
| 276 | min: number | undefined, |
| 277 | max: number | undefined |
| 278 | ): Ends | undefined => |
| 279 | min === undefined && max === undefined ? |
| 280 | undefined |
| 281 | : { |
| 282 | lows: min === undefined ? [] : [min], |
| 283 | highs: max === undefined ? [] : [max] |
| 284 | } |
| 285 | |
| 286 | // whether a range of one ends where a range of the other starts, wherever each |
| 287 | // holds it |
no outgoing calls
no test coverage detected