Syntaxe
If(cond, then, [else])
Paramètres
| Paramètre | Type | Précision |
|---|---|---|
cond | booléen | obligatoire |
then | toute valeur | obligatoire |
else | toute valeur | facultatif |
Renvoie
toute valeur
Exemple
If($amount > 1000, Notify("Large quote"))IfExécute seulement la branche choisie et rend sa valeur.