Function: -all?
-all? is a byte-compiled function defined in dash.el.
Signature
(-all? PRED LIST)
Documentation
Return t if (PRED X) is non-nil for all X in LIST, else nil.
In the latter case, stop after the first X for which (PRED X) is nil, without calling PRED on any subsequent elements of LIST.
The similar function -every is more widely useful, since it
returns the last non-nil result of PRED instead of just t on
success.
Alias: -all-p, -every-p, -every?.
This function's anaphoric counterpart is --all?.
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -all? (pred list)
"Return t if (PRED X) is non-nil for all X in LIST, else nil.
In the latter case, stop after the first X for which (PRED X) is
nil, without calling PRED on any subsequent elements of LIST.
The similar function `-every' is more widely useful, since it
returns the last non-nil result of PRED instead of just t on
success.
Alias: `-all-p', `-every-p', `-every?'.
This function's anaphoric counterpart is `--all?'."
(declare (important-return-value t))
(--all? (funcall pred it) list))