Boolean values have two possible values: true and false. JavaScript converts the true and false literals to 1 and 0 when necessary.
Boolean values are usually the result of comparison made in your JavaScript expressions. Boolean values are typically used in control structures. For example, the JavaScript if-then statement performs one action if it is true and a different action if it is false.
The following examples are all valid Boolean expressions:
Process.A == 1 !(Process.A == 1) (Process.A != 1) (Process.A == 1) && (Process.B > 0)
|
Copyright © 2014 CA.
All rights reserved.
|
|