Determines if the specified path is a file.
function isfile(path: string): boolean
path - The path to the file.
path
print(isfile("nonexistent.txt")) -- Output: false writefile("file3.txt", "") print(isfile("file3.txt")) -- Output: true
Last updated 2 months ago