Function: editorconfig-core-handle-root-p

editorconfig-core-handle-root-p is a byte-compiled function defined in editorconfig-core-handle.el.gz.

Signature

(editorconfig-core-handle-root-p HANDLE)

Documentation

Return non-nil if HANDLE represent root EditorConfig file.

If HANDLE is nil return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig-core-handle.el.gz
(defun editorconfig-core-handle-root-p (handle)
  "Return non-nil if HANDLE represent root EditorConfig file.

If HANDLE is nil return nil."
  (when handle
    (string-equal "true"
                  (downcase (or (cdr (assoc "root"
                                            (editorconfig-core-handle-top-props handle)))
                                "")))))