If
| Name | Mandatory | Description | Default | Type | 
| ⬅️ Input |  | The value that will be passed to the predicate. |  | Any | 
| Output ➡️ |  | The input of the shard if Passthroughistrue; otherwise, the output of the action that was performed (i.e.ThenorElse). |  | Any | 
| Predicate | No | The predicate to evaluate in order to trigger Then(whentrue) orElse(whenfalse). | none | Shard[Shard]None | 
| Then | No | The shards to activate when Predicateistrue. | none | Shard[Shard]None | 
| Else | No | The shards to activate when Predicateisfalse. | none | Shard[Shard]None | 
| Passthrough | No | The output of this shard will be its input. | false | Bool | 
 
Evaluates a predicate and executes an action.
Examples
|  | 5
If(
  Predicate: IsLess(2) Then: {
    Msg("input is lesser than 2")
  } Else:
  Msg("input is equal or greater than 2")
)
 |