every? tests whether a predicate returns truthy for every element of a collection, producing a boolean answer for an all-items question. section 8.1.5
Use it with a one-argument predicate and any collection supported by seq.
- Treat any non-nil, non-false predicate result as truthy; every? itself returns only true or false. section 8.1.5
- Expect true for an empty collection, because no element violates the predicate. section 8.1.5
- Use related functions for complementary questions: not-every?, some, and not-any?. section 8.1.5
Checking cards
(defn bingo? [card] (every? drawn card)) (map bingo? cards) ;; (false false true) Here, every? checks whether each number on a card appears in drawn.



