NumberOrRange

sealed class NumberOrRange(source)

Represents an integer, or a start- and stop-inclusive integer range.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Number(val value: Int) : NumberOrRange

Represents an integral number.

Link copied to clipboard
class Range(val start: Int, val end: Int?) : NumberOrRange

Represents a start- and stop-inclusive integer range.

Functions

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

Converts the current number or range to a filter.