Range

class Range(val start: Int, val end: Int?) : NumberOrRange(source)

Represents a start- and stop-inclusive integer range.

Parameters

start

The inclusive lower bound of the range

end

The inclusive upper bound of the range or null, if there is no upper bound

Constructors

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

Properties

Link copied to clipboard
val end: Int?
Link copied to clipboard
val start: Int

Functions

Link copied to clipboard
open override fun toFilter(): IFilter<Int, Unit>

Converts the current number or range to a filter.

Link copied to clipboard
open override fun toString(): String