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