isfile
Returns true when the path points at an existing file.
Signature
isfile(path: string): booleanParameters
pathstringPath to check.
Returns
boolean
Example
writefile("note.txt", "hello")
print(isfile("note.txt")) --> true
print(isfile("missing.txt")) --> false