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
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