# Expression

    protocol Expression : Sendable

An expression which evaluates to a value.

Depending on the concrete type, it may represent:

- Simple literal expressions including a constant or a reference.
- Complex expressions with one operator and one or more operand(s), such as a logical expression, a comparison expression, a struct traversal expression.
- `


  ### [isEqual(to:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression#/s:13GoogleHomeSDK10ExpressionP7isEqual2toSbAaB_p_tF)


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

  #### Declaration

  Swift

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