File.eof

bool eof() @property const @trusted pure

Returns true if the file is at end (see feof).

Throws

Exception if the file is not opened.