Documentation Language: Swift

Function

multiply(_:_:)

Multiplies two values together.

func multiply(_ left: any EcoreValue, _ right: any EcoreValue) throws -> any EcoreValue

Parameters

left

The left operand

right

The right operand

Return Value

The product of the operands

Discussion

Supports multiplication of numeric types with automatic type coercion.