public native Boolean(value: String) throws BadValueException
Builds a Boolean from a textual representation.
Accepted values are true and false.
true
false
assert Boolean("true") == true assert Boolean("false") == false