is_file
The is_file function determines whether a name corresponds to a file. The target name 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_file( sName )
sName is the name to test as a potential file.
bSuccess is true if sName corresponds to a file, or false if not.
This function returns false if the target name is not a file. In that case, try is_dir to test whether it is instead a directory.
Directory Functions, is_dir, get_dir
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.