Function: -any?

-any? is a byte-compiled function defined in dash.el.

Signature

(-any? PRED LIST)

Documentation

Return t if (PRED X) is non-nil for any X in LIST, else nil.

Alias: -any-p, -some?, -some-p

View in manual

Aliases

-some-p -any-p -some?

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -any? (pred list)
  "Return t if (PRED X) is non-nil for any X in LIST, else nil.

Alias: `-any-p', `-some?', `-some-p'"
  (declare (important-return-value t))
  (--any? (funcall pred it) list))