Boolean Type
A Boolean has a value of true or false.
while(true) {
...
}
All undefined values are treated as false Boolean values when used in the context of a condition. You can check whether a value is defined by using the value in an if/else condition. For example:
if(parameter['start_time']) {
// action if 'start_time' is defined
...
else {
// action if 'start_time' is not defined
...
}
| << Number Type | © 1996-2013 InetSoft Technology Corporation (v11.5) | String Type >> |