From c68ad08805a7427f52644c7a9e499e4b4af86b3f Mon Sep 17 00:00:00 2001 From: pkoppstein Date: Thu, 6 Jul 2023 00:11:16 -0400 Subject: [PATCH] manual.yml: pick(pathexps) Change formal parameter name --- docs/content/manual/manual.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index 396b7643..d7cceadd 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -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: