rightSideNumberOperationFunction

open fun rightSideNumberOperationFunction(operation: String): (T, right: Number) -> T

Dynamically dispatches a binary operation with the certain name with numeric first argument.

This function must follow two properties:

  1. In case if operation is not defined in the structure, the function throws kotlin.IllegalStateException.

  2. This function is symmetric with the other rightSideNumberOperationFunction overload: i.e. rightSideNumberOperationFunction(a)(b, c) == leftSideNumberOperation(a, b, c).

Return

an operation.

Parameters

operation

the name of operation.