    struct AnyExpression

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

Typed-erased Expression.
- `


  ### [cast(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyExpression#/s:13GoogleHomeSDK13AnyExpressionV4castyxSgxmAA0E0RzlF)


  ` Undocumented

  #### Declaration

  Swift

      func cast<T>(_ type: T.Type = T.self) -> T? where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [is(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyExpression#/s:13GoogleHomeSDK13AnyExpressionV2isySbxmAA0E0RzlF)


  ` Undocumented

  #### Declaration

  Swift

      func `is`<T>(_ type: T.Type = T.self) -> Bool where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [isEqual(to:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyExpression#/s:13GoogleHomeSDK13AnyExpressionV7isEqual2toSbAA0E0_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

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyExpression#/s:13GoogleHomeSDK13AnyExpressionV2eeoiySbAC_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: AnyExpression, rhs: AnyExpression) -> Bool

  #### Parameters

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