io_file.close [method]

io_file.close()

closes the previously open file, if any, returns whether the file was open or not

f = io_file( "file.txt" );
f.close(); // returns true if the file existed
f.close(); // returns false