IsDir(
     path:path
)
bool

Arguments

path

Path to test.

Return value

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

Description

Tests if the specified path exists as a directory.

Example:

if (IsDir("c:\\windows\\system32")) { ... }