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

File.isFile

$path.isFile() -> boolean

Description

Return true if this is a file path.

It does not check if the path exists.

file'files:/data.txt'.isFile()
//= true

dir'files:/some/dir'.isFile()
//= false

See Also