Function: f-absolute-p

f-absolute-p is a for file-name-absolute-p, defined in fileio.c.

Signature

(f-absolute-p FILENAME)

Documentation

Return t if FILENAME is an absolute file name.

On Unix, absolute file names start with /. In Emacs, an absolute file name can also start with an initial ~ or ~USER component, where USER is a valid login name.

Other relevant functions are documented in the f group.

Shortdoc

;; f
(f-absolute-p "path/to/dir")
    => nil
  (f-absolute-p "/full/path/to/dir")
    => t

Aliases

f-absolute? f-absolute-p