OpenEndRange

A range with an inclusive lower bound and an exclusive upper bound.

A range describes bounds and membership; it does not by itself provide iteration.

Type Parameters

T

the comparable type of the bounds and tested values.

Inheritors

Properties

Link copied to clipboard
abstract val endExclusive: T

The exclusive upper bound.

Link copied to clipboard
abstract val start: T

The inclusive lower bound.

Functions

Link copied to clipboard
abstract operator fun contains(value: T): Boolean

Tests whether value belongs to this range.

Link copied to clipboard
abstract fun isEmpty(): Boolean

Tests whether this range contains no values.