Lucee Function Reference
Function FILEEXISTS
Determines whether a file exists
Example
fileexists(any source,[object allowRealPath]):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
source | any | Yes | a file path. |
allowRealPath | object | No | boolean that defines if relative paths are interpreted or not |