sema-docs 1.23.0

Canonical structured documentation for Sema builtins/special forms; powers LSP hover/completion and REPL apropos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
name: "every?"
module: "lists"
section: "Searching & Testing"
params: [{ name: pred, type: function }, { name: seq, type: "list | vector" }]
returns: bool
---

Return `#t` if `pred` returns truthy for every element of `seq` (and for the empty sequence). Alias of `every`.

```sema
(every? odd? '(1 3 5))   ; => #t
(every? odd? '(1 2 3))   ; => #f
```