represents interval starting points and lengths at which slices should be performed by sliceIntervalLengths.
start
number
len
undefined
// mathematically represents the set of intervals: { [0, 0 + 10), [20, 20 + 10), [90, Inf), [15, 15 + 70) } === { [0, 10), [20, 30), [90, 100), [15, 85) }const my_intervals: IntervalLengths = [0, 10, 20, 10, 90, undefined, 15, 70] Copy
// mathematically represents the set of intervals: { [0, 0 + 10), [20, 20 + 10), [90, Inf), [15, 15 + 70) } === { [0, 10), [20, 30), [90, 100), [15, 85) }const my_intervals: IntervalLengths = [0, 10, 20, 10, 90, undefined, 15, 70]
represents interval starting points and lengths at which slices should be performed by sliceIntervalLengths.
start
index, which should be:number
len
length of the interval, which can one of:number
undefined
, for slicing till end