isFileExists

isFileExists ( string path , bool[default:false] _includeDir ) : boolean

Returns if the file exists

Parameters

path

_includeDir (optional)

By default, the function returns false if path is a folder.
Set this parameter to true to return true if the file OR folder exists.