NotebookRange

open class NotebookRange(source)

A notebook range represents an ordered pair of two cell indices. It is guaranteed that start is less than or equal to end.

Online Documentation

Constructors

Link copied to clipboard
constructor(start: Int, end: Int)

Create a new notebook range. If start is not before or equal to end, the values will be swapped.

Properties

Link copied to clipboard
val end: Int

The exclusive end index of this range (zero-based).

Link copied to clipboard

true if start and end are equal.

Link copied to clipboard
val start: Int

The zero-based start index of this range.