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