UnaryPlus
inline fun <Input, Result> UnaryPlus(crossinline block: (Input) -> Result): UnaryPlus<Input, Result>(source)
Creates a UnaryPlus instance from a lambda.
Return
A new UnaryPlus instance.
Parameters
block
The function implementing unary plus.
Type Parameters
Input
The type of the operand.
Result
The type of the result.