nextBoolean

abstract fun nextBoolean(): Boolean

Returns the Token.BOOLEAN value of the next token, consuming it.

Throws

if the next token is not a boolean or if this reader is closed.