Function: -some->
-some-> is a macro defined in dash.el.
Signature
(-some-> X &optional FORM &rest MORE)
Documentation
When expr is non-nil, thread it through the first form (via ->),
and when that result is non-nil, through the next form, etc.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defmacro -some-> (x &optional form &rest more)
"When expr is non-nil, thread it through the first form (via `->'),
and when that result is non-nil, through the next form, etc."
(declare (debug ->)
(indent 1))
(if (null form) x
(let ((result (make-symbol "result")))
`(-some-> (-when-let (,result ,x)
(-> ,result ,form))
,@more))))