Syntax
issock(string)
Description
The issock() function returns true if the path points to socket, false if it points to another kind of file.
false is also returned if the path doesn’t exist
Example
include("file") println(issock("/run/cups/cups.sock")) println(issock("/etc/passwd")) true false