Function: -filter
-filter is a byte-compiled function defined in dash.el.
Signature
(-filter PRED LIST)
Documentation
Return a new list of the items in LIST for which PRED returns non-nil.
Alias: -select.
This function's anaphoric counterpart is --filter.
For similar operations, see also -keep and -remove.
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -filter (pred list)
"Return a new list of the items in LIST for which PRED returns non-nil.
Alias: `-select'.
This function's anaphoric counterpart is `--filter'.
For similar operations, see also `-keep' and `-remove'."
(declare (important-return-value t))
(--filter (funcall pred it) list))