file type name
Returns a string giving the type of file name, which will be one of file, directory, characterSpecial, blockSpecial, fifo, link, or socket.
See also:
Tcl syntax help - Category Command - Category Introspection