Boolean
type (joe
)
The Boolean
type has the expected values true
and false
.
Static Methods
Boolean.valueOf()
Boolean.valueOf(string) → Boolean
Returns true
if string equals the string "true"
, ignoring case,
and false
for all other values, including null.
Note: this is consistent with the Java behavior.