Function: -keep
-keep is a byte-compiled function defined in dash.el.
Signature
(-keep FN LIST)
Documentation
Return a new list of the non-nil results of applying FN to each item in LIST.
Like -filter, but returns the non-nil results of FN instead of
the corresponding elements of LIST.
Its anaphoric counterpart is --keep.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -keep (fn list)
"Return a new list of the non-nil results of applying FN to each item in LIST.
Like `-filter', but returns the non-nil results of FN instead of
the corresponding elements of LIST.
Its anaphoric counterpart is `--keep'."
(declare (important-return-value t))
(--keep (funcall fn it) list))