Parses the string argument as a boolean
. The boolean
returned represents the value true
if the string argument is not null
and is equal, ignoring case, to the string "true"
.
When the Boolean.parse function is called with a string argument the following steps are taken:
- If Type(string) is not
"string"
- Return
false