@:value({ step : 1 })staticgetSliceIndices(len:Int, ?start:Int, ?end:Int, step:Int = 1):Array<Int>
staticslice<T>(input:Array<T>, ?start:Int, ?end:Int, ?step:Int):Array<T>
Return a slice of an array. Select indices starting at the start, incrementing by step, and ending with end (exclusive).
Parameters:
input
The target array.
start
The starting index.
end
The ending index.
step
The amount to step by.