Scoop API

scoop:scoop.core:0.1.0

RangeTo

interface RangeTo

source · line 137
public
public interface RangeTo<Rhs, Result>

The generic operator contract used for a..b. Operand and result types are chosen by the implementation.

function rangeTo

source · line 142
public
public operator fun rangeTo(endpoint: Rhs): Result

Implements a..b for this receiver; domain restrictions and failure behavior belong to the implementing type.