if.empty

/ Conditionals / if.empty

Title : if.empty
Purpose : If provided variable is empty then executes
Syntax : [if.empty “variable”] … code … [/if.empty]
Example 1 :
Code : [if.empty module.rights.mode]
[module.return /]
[/if.empty]
Output :  It checks module right is empty so its return the module
Description : In the example,  if is empty its executes the code
Categories
Most Popular

Leave a Reply

Your email address will not be published.