Documentation Language: Swift

Function

equals(_:_:)

Tests whether two values are equal.

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

Parameters

left

The left operand

right

The right operand

Return Value

true if the values are equal, false otherwise

Discussion

Uses the EMFBase areEqual function to perform type-safe equality comparison across all EcoreValue types.