query
On this page

pathIsDirectory

lib.sources.pathIsDirectory

Docs pulled from | This Revision | about 1 hour ago


Whether a path exists and is a directory.

Inputs

path

1. Function argument

Type

pathIsDirectory :: Path -> Bool

Examples

pathIsDirectory usage example

pathIsDirectory /.
=> true

pathIsDirectory /this/does/not/exist
=> false

pathIsDirectory /some/file.nix
=> false
(lib.filesystem.pathIsDirectory)

Noogle also knows

Aliases