file-exists() #

boolean file-exists(string path)

The file-exists() function accepts exactly one argument that is converted to a string. The argument must be a fit://-URL, otherwise false() will be returned.

The function returns true() if the URL references an existing file or directory, false() otherwise.

Examples #