diff options
Diffstat (limited to 'docs/content/manual/v1.5/manual.yml')
-rw-r--r-- | docs/content/manual/v1.5/manual.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/manual/v1.5/manual.yml b/docs/content/manual/v1.5/manual.yml index 5dc05fc1..2274bc87 100644 --- a/docs/content/manual/v1.5/manual.yml +++ b/docs/content/manual/v1.5/manual.yml @@ -891,8 +891,8 @@ sections: (except it does not output the empty list, representing . itself). - `paths(f)` outputs the paths to any values for which `f` is true. - That is, `paths(numbers)` outputs the paths to all numeric + `paths(f)` outputs the paths to any values for which `f` is `true`. + That is, `paths(type == "number")` outputs the paths to all numeric values. `leaf_paths` is an alias of `paths(scalars)`; `leaf_paths` is @@ -902,7 +902,7 @@ sections: - program: '[paths]' input: '[1,[[],{"a":2}]]' output: ['[[0],[1],[1,0],[1,1],[1,1,"a"]]'] - - program: '[paths(scalars)]' + - program: '[paths(type == "number")]' input: '[1,[[],{"a":2}]]' output: ['[[0],[1,1,"a"]]'] |