Get whether the file handle is still open
None.
import "file" fh = file.open("data.txt", "r") if fh != null and fh.isOpen then print "file is open" fh.close end if
There was an error while loading. Please reload this page.