The "filename_is_dir" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
fname | string | The full path to check |
Description#
Checks if a filename appears to be a directory based on string properties and returns true or false. This is faster than directory_exists, and is useful for checking paths outside the sandbox.
caution
To achieve best processing speed, files without extensions are not supported by this script.

X1