Document map-keys.

This commit is contained in:
Michael Fogleman 2017-09-11 09:40:29 -04:00
parent a9ba39f748
commit c90358fb92

View file

@ -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]`.