rightSideNumberOperation
open fun rightSideNumberOperation(operation: String, left: T, right: Number): T
Content copied to clipboard
Dynamically invokes a binary operation with the certain name with numeric second argument.
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 the other rightSideNumberOperationFunction overload: i.e.
rightSideNumberOperationFunction(a)(b, c) == rightSideNumberOperation(a, b, c)
.
Return
a result of operation.
Parameters
operation
the name of operation.
left
the first argument of operation.
right
the second argument of operation.