Function: file-attribute-type
file-attribute-type is a byte-compiled function defined in
files.el.gz.
Signature
(file-attribute-type ATTRIBUTES)
Documentation
The type field in ATTRIBUTES returned by file-attributes.
The value is either t for directory, string (name linked to) for symbolic link, or nil.
Probably introduced at or before Emacs version 26.1.
Aliases
tramp-compat-file-attribute-type
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defsubst file-attribute-type (attributes)
"The type field in ATTRIBUTES returned by `file-attributes'.
The value is either t for directory, string (name linked to) for
symbolic link, or nil."
(nth 0 attributes))