DLiteScript

io.exists

Returns a tuple with a bool and an error based on whether the given file/dir exists or not.

Examples

1
io.exists("data.txt") // returns a tuple with a bool and an error based on whether "data.txt" exists or not
Improve this page