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