dir_exists

Check if directory exists

Checks if a directory exists at the given path.

Parameters

Returns

True if it’s a directory.

Examples

dir_exists("tests")