myFile.eof in Photoshop DOM

Is the file pointer at the end of the File?
This property is read-only.

Property Type
Boolean
This property is true if a read attempt caused the current position to be behind the end of the file. If the file is not open, the value is true.