Documentation Language: Swift

Function

and(_:_:)

Performs logical AND operation on two boolean values.

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

Parameters

left

The left boolean operand

right

The right boolean operand

Return Value

The logical AND of the operands

Discussion

Both operands must be boolean values. The result is true only if both operands are true.