(range: ZoomRange | null)
| 2038 | }; |
| 2039 | |
| 2040 | const isFullSpanZoomRange = (range: ZoomRange | null): boolean => { |
| 2041 | if (!range) return true; |
| 2042 | return ( |
| 2043 | Number.isFinite(range.start) && |
| 2044 | Number.isFinite(range.end) && |
| 2045 | range.start <= 0 && |
| 2046 | range.end >= 100 |
| 2047 | ); |
| 2048 | }; |
| 2049 | |
| 2050 | const cancelScheduledFlush = (): void => { |
| 2051 | if (flushRafId !== null) { |
no outgoing calls
no test coverage detected