Scoop API

scoop:scoop.core:0.1.0

Decrement

interface Decrement

source · line 101
public
public interface Decrement<Result : Decrement<Result>>

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

function dec

source · line 106
public
public operator fun dec(): Result

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