minor fixes
This commit is contained in:
parent
80c96df24d
commit
1b43dad924
1 changed files with 15 additions and 15 deletions
|
|
@ -270,7 +270,7 @@ As of Specter 1.0.0, `LAST` can now work with strings. It navigates to or transf
|
||||||
|
|
||||||
## MAP-KEYS
|
## MAP-KEYS
|
||||||
|
|
||||||
`MAP-KEYS` navigates to every key in a map. `MAP-VALS` is more efficient than `[ALL FIRST]`.
|
`MAP-KEYS` navigates to every key in a map. `MAP-KEYS` is more efficient than `[ALL FIRST]`.
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
=> (select [MAP-KEYS] {:a 3 :b 4})
|
=> (select [MAP-KEYS] {:a 3 :b 4})
|
||||||
|
|
@ -828,7 +828,7 @@ See also [pred](#pred).
|
||||||
|
|
||||||
`(pred<= value)`
|
`(pred<= value)`
|
||||||
|
|
||||||
Keeps elements only if they are less than the provided value.
|
Keeps elements only if they are less than or equal to the provided value.
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
=> (select [ALL (pred<= 3)] [1 2 2 3 4 0])
|
=> (select [ALL (pred<= 3)] [1 2 2 3 4 0])
|
||||||
|
|
@ -841,7 +841,7 @@ See also [pred](#pred).
|
||||||
|
|
||||||
`(pred>= value)`
|
`(pred>= value)`
|
||||||
|
|
||||||
Keeps elements only if they are greater than the provided value.
|
Keeps elements only if they are greater than or equal to the provided value.
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
=> (select [ALL (pred>= 3)] [1 2 2 3 4 0])
|
=> (select [ALL (pred>= 3)] [1 2 2 3 4 0])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue