The "filename_is_dir" Function
#
SyntaxArgument | Type | Description |
---|---|---|
fname | string | The full path to check |
#
DescriptionChecks 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.