Syntax
isdir(string)
Description
The isdir() function returns true if the path points to a block device , false if it points to another kind of file.
false is also returned if the path doesn’t exist
Example
include("file")
println(isdir("/bin"))
println(isdir("/etc/passwd"))
println(isdir("/tmp/noexist"))
true
false
false