Reference

struct Reference
extension Reference : Equatable, Expression, Sendable

Represent a reference, to the previously defined node in the automation graph.

Reference is often used as the first operand in expressions. for instance: Equals(operand1: Reference() , operand2: Constant(true)).

  • Undocumented

    Declaration

    Swift

    enum ReferenceType
    extension Reference.ReferenceType : Sendable
  • Undocumented

    Declaration

    Swift

    let referenceValue: Reference.ReferenceType
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • Returns true if the expressions are equal, false otherwise.

    Declaration

    Swift

    func isEqual(to other: any Expression) -> Bool