rightSideNumberOperationFunction
open override fun rightSideNumberOperationFunction(operation: String): (T, right: Number) -> T
Content copied to clipboard
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.
Sources
common source
Link copied to clipboard