$is file

Allows you to check whether the filename is a regular file.


Example

Running this code will check if the file "C:\Users\user\Desktop\TEST5.csv" is existing. As shown in the alert box, the returned value is "False".

alert($plugin function("Data and Files Automation.dll", "$is file", "C:\\Users\\user\\Desktop\\TEST5.csv"))

For this example, running this code will check if the file "C:\Users\user\Desktop\TEST.csv" is existing. As shown in the alert box, the returned value is "True".

alert($plugin function("Data and Files Automation.dll", "$is file", "C:\\Users\\user\\Desktop\\TEST.csv"))

Was this helpful?

Previous Article

$is even

Next Article

$is file exist