if.not_str
/
Conditionals /
if.not_str
By Amit Singh. Posted on
Title |
: |
if.not_str |
Purpose |
: |
Used to determine that the given variable is not type of string. |
Syntax |
: |
|
[if.not_str "variable_name"] //** your code to execute when true **// [/if.not_str] |
|
Input Parameters |
: |
variable name: (int) (Required) variable to check |
Return Value |
: |
N/A |
Example 1 |
: |
Code |
: |
|
[if.not_str {template.arg}] Variable is not a String [/if.not_str] |
|
Output |
: |
Variable is not a String |
Description |
: |
The above example code will output string if the template.arg is not type of string. Otherwise it will be empty. |
|
Last Modified By abhishek.