    struct ListContains

    extension ListContains : Equatable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html, Identifiable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/IdentifiableExpression.html, Sendable, SendableMetatype

Represents the "contains" operation on a list expression. Returns `true` if the element is in the
list.
- `


  ### [id](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ListContains#/s:13GoogleHomeSDK12ListContainsV2idSSvp)


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

  #### Declaration

  Swift

      let id: String

- `


  ### [listExpression](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ListContains#/s:13GoogleHomeSDK12ListContainsV14listExpressionAA0G0_pvp)


  ` Undocumented

  #### Declaration

  Swift

      let listExpression: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [element](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ListContains#/s:13GoogleHomeSDK12ListContainsV7elementAA10Expression_pvp)


  ` Undocumented

  #### Declaration

  Swift

      let element: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ListContains#/s:13GoogleHomeSDK12ListContainsV2eeoiySbAC_ACtFZ)


  ` 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: ListContains, rhs: ListContains) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [isEqual(to:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ListContains#/s:13GoogleHomeSDK12ListContainsV7isEqual2toSbAA10Expression_p_tF)


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

  #### Declaration

  Swift

      func isEqual(to other: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html) -> Bool