Documentation Language: Swift

Function

lessThanOrEqual(_:_:)

Tests whether the left value is less than or equal to the right value.

func lessThanOrEqual(_ 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 or equal to right, false otherwise

Discussion

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