Documentation Language: Swift

Function

greaterThan(_:_:)

Tests whether the left value is greater than the right value.

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

Parameters

left

The left operand

right

The right operand

Return Value

true if left is greater than right, false otherwise

Discussion

Supports comparison of numeric and string types with automatic type coercion for numbers.