binaryOperationFunction
Dynamically dispatches a binary 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 binaryOperation: for any
a
,b
, andc
,binaryOperationFunction(a)(b, c) == binaryOperation(a, b, c)
.
Return
an operation.
Parameters
operation
the name of operation.