rightSideNumberOperationFunction
open override fun rightSideNumberOperationFunction(operation: String): (left: T, right: Number) -> T(source)
Dynamically dispatches a binary operation with the certain name with numeric first argument.
Implementations must fulfil the following requirements:
If operation is not defined in the structure, then the function throws kotlin.IllegalStateException.
Equivalence to rightSideNumberOperation: for any
a
,b
, andc
,rightSideNumberOperationFunction(a)(b, c) == leftSideNumberOperation(a, b, c)
.
Return
an operation.
Parameters
operation
the name of operation.