io.close()

The io.close() function is used to close open file.

Parameters

  • file object a file object that was returned by the io.open() function.

Return value

  • none

Last updated