method

boolean

boolean(str)
public

Converts a String to true or false

Raises an exception if str is not 0 or 1