TmpMenu/docs/lua/tables/io.md
2024-02-24 11:10:58 +01:00

394 B

Table: io

Table for file manipulation. Modified for security purposes.

Functions (2)

open()

  • Returns:
    • file_handle: file handle or nil if can't read / write to the given path.

Example Usage:

file_handle = io.open()

exists()

  • Returns:
    • boolean: True if the passed file path exists

Example Usage:

boolean = io.exists()