Syntax
isfifo(string)
Description
The isfifo() function returns true if the path points to a named pipe , false if it points to another kind of file.
false is also returned if the path doesn’t exist
Example
include("file") mkfifo("/tmp/pipe") println(isfifo("/tmp/pipe")) println(isfifo("/etc/passwd")) unlink("/tmp/pipe") println(isfifo("/tmp/pipe")) true false false