Version: v0.8.1 - Beta.  We welcome contributors & feedback.

File.isDir

$path.isDir() -> boolean

Description

Return true if this is a dir path.

It does not check if the path exists.

file'files:/data.txt'.isDir()
//= false

dir'files:/some/dir'.isDir()
//= true

See Also