Slice

class Slice(    start: Int,     stop: Int,     step: Int) : Indexing, ClosedRange<Int>

Slice class. An analogue of slices in python.

Constructors

Link copied to clipboard
fun Slice(    start: Int,     stop: Int,     step: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun contains(value: Int): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun rangeTo(step: Int): Slice
operator fun rangeTo(step: RInt): Slice
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val endInclusive: Int
Link copied to clipboard
open override val start: Int
Link copied to clipboard
val step: Int
Link copied to clipboard
val stop: Int