Returns whether there is at least one more line to read.
This performs a look-ahead read; the peeked line is consumed by the next call to nextLine() or next().
Example:
var scanner = Scanner.fromString ("line1\nline2");
assert (scanner.hasNextLine () == true);
|
true if there is more data. |