rightSideNumberOperationFunction

open 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:

  1. If operation is not defined in the structure, then the function throws kotlin.IllegalStateException.

  2. Equivalence to rightSideNumberOperation: for any a, b, and c, rightSideNumberOperationFunction(a)(b, c) == leftSideNumberOperation(a, b, c).

Return

an operation.

Parameters

operation

the name of operation.