Function: --when-let
--when-let is a macro defined in dash.el.
Signature
(--when-let VAL &rest BODY)
Documentation
If VAL evaluates to non-nil, bind it to symbol it and
execute body.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro --when-let (val &rest body)
"If VAL evaluates to non-nil, bind it to symbol `it' and
execute body."
(declare (debug (form body))
(indent 1))
`(--if-let ,val (progn ,@body)))