unaryOperationFunction
Dynamically dispatches a unary operation with the certain name.
Implementations must fulfil the following requirements:
If operation is not defined in the structure, then the function throws kotlin.IllegalStateException.
Equivalence to unaryOperation: for any
a
andb
,unaryOperationFunction(a)(b) == unaryOperation(a, b)
.
Return
an operation.
Parameters
operation
the name of operation.