Scanner.eof

Returns true if the scanner has reached the end of the file or text buffer.

class Scanner
bool
eof
()

Return Value

Type: bool

true if the scanner has reached the end of the file or text buffer