Skip to content

Commit

Permalink
manual.yml: pick(pathexps)
Browse files Browse the repository at this point in the history
Change formal parameter name
  • Loading branch information
pkoppstein authored and nicowilliams committed Jul 6, 2023
1 parent 37225a9 commit c68ad08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -925,12 +925,12 @@ sections:
input: '{"a": 1, "b": 2, "c": 3}'
output: ['{"a": 2, "b": 3, "c": 4}']

- title: "`pick(stream)`"
- title: "`pick(pathexps)`"
body: |
Emit the projection of the input object or array defined by the specified stream of
dot-path specifications, such that if p is one of these specifications,
and `(. | p)` evaluates to $x, then `pick(stream) | p` will also be $x.
Emit the projection of the input object or array defined by the specified
sequence of path expressions, such that if p is any one of these specifications,
then `(. | p)` will evaluate to the same value as `(. | pick(pathexps) | p)`.
For arrays, negative indices and .[m:n] specifications should not be used.
examples:
Expand Down

0 comments on commit c68ad08

Please sign in to comment.