( values: readonly T[], startIndex: number, )
| 147 | } |
| 148 | |
| 149 | export function sliceArrayFromIndex<T>( |
| 150 | values: readonly T[], |
| 151 | startIndex: number, |
| 152 | ): SliceResult<T> { |
| 153 | return { |
| 154 | values: values.slice(startIndex), |
| 155 | nextIndex: values.length, |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | export function sliceStringFromIndex( |
| 160 | text: string, |
no outgoing calls
no test coverage detected