Tag Link | [True] | Category | Constant |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | Boolean | Security | Tag |
Implementation | Internal | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
Returns the boolean value True.
[If: (Variable_Defined: 'MyVariable') == True]
...
[/If]
No Parameters Required.
To check whether a value is True:
Use the [If] ... [/If] tag and compare the variable containing the value to [True]. The following example returns "The condition is true!" since the variable is equal to True.
[Variable: 'myCondition' = True]
[If: $myCondition == True]
The condition is true!
[Else]
The condition is false!
[/If]
The condition is true!
Substitution | |
---|---|
|