Function: dape--variable-expanded-p
dape--variable-expanded-p is a natively compiled function defined in
dape.el.
Signature
(dape--variable-expanded-p PATH)
Documentation
If PATH should be expanded.
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--variable-expanded-p (path)
"If PATH should be expanded."
(gethash path dape--variable-expanded-p
(when-let* ((auto-expand
;; See `dape-variable-auto-expand-alist'.
;; Expects car of PATH to specify context
(or (alist-get (car (last path)) dape-variable-auto-expand-alist)
(alist-get nil dape-variable-auto-expand-alist))))
(length< path (+ auto-expand 2)))))