Checks whether a value is the end of a range.
(value: number, start: number | null, end: number | null)
| 651 | |
| 652 | /** Checks whether a value is the end of a range. */ |
| 653 | function isEnd(value: number, start: number | null, end: number | null): boolean { |
| 654 | return start !== null && start !== end && value >= start && value === end; |
| 655 | } |
| 656 | |
| 657 | /** Checks whether a value is inside of a range. */ |
| 658 | function isInRange( |
no outgoing calls
no test coverage detected