struct Equalsextension Equals : BinaryExpression, Equatable, Expression, Identifiable, IdentifiableExpression, SendableThe equality operator, which evaluates to true when operand1 equals operand2.
-
String identifier of the expression. Must be unique within a single automation graph.
Declaration
Swift
let id: String -
Undocumented
Declaration
Swift
let operand1: any Expression -
Undocumented
Declaration
Swift
let operand2: any Expression -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (lhs: Equals, rhs: Equals) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Returns true if the expressions are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Expression) -> Bool