Documentation Language: Swift

Op

==(_:_:)

Compares two MTL blocks for equality.

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

Parameters

lhs

The left-hand side block

rhs

The right-hand side block

Return Value

true if the blocks are equal, false otherwise

Discussion

Two blocks are equal if they have the same inlined flag and their statement arrays are equal using type-erased comparison.