struct Assignmentextension Assignment : Equatable, Hashable, Identifiable, Node, NodeWithOutput, SendableStruct that represents the assignment of a value to a variable.
-
The stable identity of the entity associated with this instance.
Declaration
Swift
let id: String -
The unique ID for the Assignment node output. Must be unique per Automation
Declaration
Swift
let output: String -
An expression that is applied to the value of the variable.
Declaration
Swift
let expression: 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: Assignment, rhs: Assignment) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Returns true if the nodes are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Node) -> Bool