isReady
isReady f
-- tells whether an input file
f
has data available for reading, or it's at the end.
See also
File
.