For the complete documentation index, see llms.txt. This page is also available as Markdown.

io.close(file)

Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen.

Last updated

Was this helpful?