pathIsDirectory
lib.pathIsDirectory
Docs pulled from | This Revision | 17 minutes ago
Whether a path exists and is a directory.
Inputs
path
-
1. Function argument
Type
pathIsDirectory :: Path -> Bool
Examples
lib.filesystem.pathIsDirectory
usage example
pathIsDirectory /.
=> true
pathIsDirectory /this/does/not/exist
=> false
pathIsDirectory /some/file.nix
=> false