parseBooleanLiteral¶
fun parseBooleanLiteral(text: String): Boolean
Converts the given text, either true or false, to a boolean value.
Throws¶
IllegalStateException-
if the
textdoes not represent a valid boolean value.
fun parseBooleanLiteral(text: String): Boolean
Converts the given text, either true or false, to a boolean value.
IllegalStateExceptionif the text does not represent a valid boolean value.