Documentation Language: Swift

Function

lessThan(_:_:)

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

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

Parameters

left

The left operand

right

The right operand

Return Value

true if left is less than right, false otherwise

Discussion

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