Syntax
isexec(string)
Description
The isexec() function returns true if the path points to a file that is executable by the calling user, false if not.
false is also returned if the path doesn’t exist
Example
include("file")
println(isexec("/bin/ls"))
println(isexec("/etc/passwd"))
println(isexec("/tmp/noexist"))
true
false
false