Function: f-child-of-p

f-child-of-p is a byte-compiled function defined in f.el.

Signature

(f-child-of-p PATH-A PATH-B)

Documentation

Return t if PATH-A is child of PATH-B.

Aliases

f-child-of?

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-child-of-p (path-a path-b)
  "Return t if PATH-A is child of PATH-B."
  (--when-let (f-parent path-a)
    (f-same-p it path-b)))