Scoop API

scoop:scoop.core:0.1.0

UnaryMinus

interface UnaryMinus

source · line 77
public
public interface UnaryMinus<Result>

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

function unaryMinus

source · line 82
public
public operator fun unaryMinus(): Result

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