Skip to content

isExecutable file

isExecutable returns true if a file is executable.

Example

{{ if isExecutable "/bin/echo" }}
# echo is executable
{{ end }}