Returns true when the path exists and is a folder.

Parameters

string
required
The path to test.

Returns

boolean
true if the path is a folder.

Example