Function
invokeTernaryMethod(_:on:with:and:)
Invokes a ternary method on a receiver value with two arguments.
func invokeTernaryMethod(_ method: OCLTernaryMethod, on receiver: any EcoreValue, with arg1: any EcoreValue, and arg2: any EcoreValue) throws -> any EcoreValue
Parameters
method-
The ternary method to invoke
receiver-
The receiver value
arg1-
The first argument value
arg2-
The second argument value
Return Value
The result of the method invocation