    struct IfFlow

    extension IfFlow : Equatable, Hashable, Identifiable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html, Sendable, SendableMetatype

A `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html` that executes a sequence of nodes if a condition is true.
If the if-then condition is false, it will evaluate the else-if clauses in order.
If none of the clauses execute, the else-then clause will execute if it is defined.
Otherwise, the next `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html` in the parent flow will execute.

`IfFlow` nodes are not permitted within a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ParallelFlow.html`.
- `


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


  ` The stable identity of the entity associated with this instance.

  #### Declaration

  Swift

      let id: String

- `


  ### [ifThen](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/IfFlow#/s:13GoogleHomeSDK6IfFlowV6ifThenAA0dG0Vvp)


  ` The if-then clause of the `IfFlow`.

  #### Declaration

  Swift

      let ifThen: https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK6IfThenV

- `


  ### [elseIfThens](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/IfFlow#/s:13GoogleHomeSDK6IfFlowV04elseD5ThensSayAA0D4ThenVGvp)


  ` The else-if clauses of the `IfFlow`.
  These will execute in order if the if-then clause is false.

  #### Declaration

  Swift

      let elseIfThens: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK6IfThenV]

- `


  ### [elseThen](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/IfFlow#/s:13GoogleHomeSDK6IfFlowV8elseThenAA4Node_pSgvp)


  ` The else-then clause of the `IfFlow`.
  This will execute if none of the if-then or else-if clauses execute.

  #### Declaration

  Swift

      let elseThen: (any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html)?