Skip to content

isfile

Description:

This function demonstrates the usage of the isfile API.

Example:

-- Check if a file exists
local exists = isfile("somefile.txt")

if exists then
    print("File exists")
else
    print("File does not exist")
end