class Slice
(source)
eq. python slice. 1:2:3 ~ 1..2..3
slice |
string representation. val slice: String |
start |
starting integer where the slicing of the object starts. val start: Int? |
step |
integer value which determines the increment between each index for slicing. val step: Int? |
stop |
integer until which the slicing takes place. val stop: Int? |
rangeTo |
operator fun rangeTo(step: Int): Slice operator fun rangeTo(step: None.Companion): Slice |
toString |
fun toString(): String |
fromClosedSlice |
fun fromClosedSlice(sliceStart: Int?, sliceEnd: Int?, step: Int?): Slice |