binary Operation Function
open override fun binaryOperationFunction(operation: String): (T, T) -> T
Content copied to clipboard
Dynamically dispatches a binary operation with the certain name.
This function must follow two properties:
In case if operation is not defined in the structure, the function throws kotlin.IllegalStateException.
This function is symmetric with second binaryOperationFunction overload: i.e.
binaryOperationFunction(a)(b, c) == binaryOperation(a, b, c)
.
Return
an operation.
Parameters
operation
the name of operation.