[Var_Defined] returns True if a variable has been defined in the current page or False otherwise. Can be used to check if a variable has been defined even if the current value of the variable is Null or the empty string.
[Var_Defined: 'Variable Name']
Use the [Var_Defined] tag with the name of a variable. In the following example, True is returned if the variable Favorite_Color is defined.
[Var_Defined: 'Favorite_Color']
True
Tag Link | [Var_Defined] | Category | Variable |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Abbreviation | Version | 3.0 |
Output Type | Boolean | Security | None |
Implementation | Internal | Sets | Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft