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