hashcode-utils-kt / org.hildan.hashcode.utils.reader / HCReader / readBoolean

readBoolean

fun readBoolean(): Boolean

Reads the next token of the input as a boolean.

Exceptions

NoMoreLinesToReadException - if the last token of the line was consumed and there is no more lines to read

InputParsingException - if the input could not be parsed as a boolean