Documentation Language: Swift

Op

==(_:_:)

Compares two MTL expressions for equality.

static func == (lhs: MTLExpression, rhs: MTLExpression) -> Bool

Parameters

lhs

The left-hand side expression

rhs

The right-hand side expression

Return Value

true if the expressions are equal, false otherwise

Discussion

Two expressions are equal if their underlying AQL expressions are equal. Since AQL expressions use type erasure, equality is determined by comparing the type-erased expressions.