Documentation Language: Swift

Function

or(_:_:)

Performs logical OR operation on two boolean values.

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

Parameters

left

The left boolean operand

right

The right boolean operand

Return Value

The logical OR of the operands

Discussion

Both operands must be boolean values. The result is true if at least one operand is true.