unaryPlus

context(unaryPlus: UnaryPlus<Input, Result>)
operator fun <Input, Result> Input.unaryPlus(): Result(source)

Applies unary plus using the given UnaryPlus context.

Receiver

The operand.

Return

The result of unary plus.

Parameters

unaryPlus

The context providing the unary plus operation.

Type Parameters

Input

The type of the operand.

Result

The type of the result.