Document map-keys.
This commit is contained in:
parent
a9ba39f748
commit
c90358fb92
1 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- [END](#end)
|
||||
- [FIRST](#first)
|
||||
- [LAST](#last)
|
||||
- [MAP-KEYS](#map-keys)
|
||||
- [MAP-VALS](#map-vals)
|
||||
- [META](#meta)
|
||||
- [NIL->LIST](#nil-list)
|
||||
|
|
@ -168,6 +169,15 @@ nil
|
|||
nil
|
||||
```
|
||||
|
||||
## MAP-KEYS
|
||||
|
||||
`MAP-KEYS` navigates to every key in a map. `MAP-VALS` is more efficient than `[ALL FIRST]`.
|
||||
|
||||
```clojure
|
||||
=> (select [MAP-KEYS] {:a 3 :b 4})
|
||||
[:a :b]
|
||||
```
|
||||
|
||||
## MAP-VALS
|
||||
|
||||
`MAP-VALS` navigates to every value in a map. `MAP-VALS` is more efficient than `[ALL LAST]`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue