Function: f-root-p
f-root-p is a byte-compiled function defined in f.el.
Signature
(f-root-p PATH)
Documentation
Return t if PATH is root directory, false otherwise.
Other relevant functions are documented in the f group.
Shortdoc
;; f
(f-root-p "/")
=> t
(f-root-p "/not/root")
=> nil
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-root-p (path)
"Return t if PATH is root directory, false otherwise."
(not (f-parent path)))