is_dir
The is_dir function determines whether a name corresponds to a directory. The target directory is specified using its full path, for example, a string or value equal to "D:\\data\\2022-06-14\\data". Note that Windows directory components must be separated by the '\\' or '/' characters.
bSuccess = is_dir( sName )
sName is the name to test as a potential directory.
bSuccess is true if sName corresponds to a directory, or false if not.
This function returns false if the target name is not a directory. In that case, try is_file to test whether it is instead a file.
Directory Functions, is_file, get_dir
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.