ListAnyMatch

struct ListAnyMatch
extension ListAnyMatch : Comprehension, Equatable, Expression, Identifiable, IdentifiableExpression, Sendable

Represents the “any match” operation on a list expression.

  • id

    String identifier of the expression. Must be unique within a single automation graph.

    Declaration

    Swift

    let id: String
  • Undocumented

    Declaration

    Swift

    let rangeExpression: any Expression
  • Undocumented

    Declaration

    Swift

    let lambdaVar: ReferenceDeclaration
  • Undocumented

    Declaration

    Swift

    let lambdaBody: any Expression
  • 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: ListAnyMatch, rhs: ListAnyMatch) -> 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