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