Scoop API

scoop:scoop.core:0.1.0

Increment

interface Increment

source · line 89
public
public interface Increment<Result : Increment<Result>>

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

function inc

source · line 94
public
public operator fun inc(): Result

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