Product Type

Range

A half-open interval from a lower bound up to, but not including, an uppor bound.

Members

Bindings

Functions

fun contains(_ element: Bound) -> Bool

Returns true iff element is contained in self.

fun contains(_ other: Self) -> Bool

Returns true iff other is contained in self.

Initializers

init()

Creates an instance with the given properties.

init(from lower_bound: sink Bound, up_to upper_bound: sink Bound)

Creates a half-open interval [lower_bound, upper_bound).