update example
This commit is contained in:
parent
09d0d071ef
commit
c2f669db71
1 changed files with 2 additions and 2 deletions
|
|
@ -175,10 +175,10 @@ user> (select (walker number?)
|
||||||
[2 1 2 1 2 6 7 4]
|
[2 1 2 1 2 6 7 4]
|
||||||
```
|
```
|
||||||
|
|
||||||
Navigate via non-keyword keys:
|
Navigate with string keys:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
user> (select (keypath "a" "b")
|
user> (select ["a" "b"]
|
||||||
{"a" {"b" 10}})
|
{"a" {"b" 10}})
|
||||||
[10]
|
[10]
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue