IsFile(
     path:path
)
bool

Arguments

path

Path to test.

Return value

True if the specified path exists as a file, otherwise false.

Description

Tests if the specified path exists as a file.

Example:

if (IsFile("c:\\windows\\system32\\notepad.exe")) { ... }