Fix typo in documentation for map_values (#3035)

* Fix typo in documentation for map_values

"map_value(f)" -> "map_values(f)"

* map_value => map_values also in the devolpment manual

---------

Co-authored-by: Emanuele Torre <torreemanuele6@gmail.com>
This commit is contained in:
J. B. RainsbergerandEmanuele Torre authored and GitHub committed 2024-02-08 13:52:50 +00:00
1 parent 54cc15c127
commit 92d35378ff
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1007,7 +1007,7 @@ sections:
`($x|f)` for each value, $x, in the input array or object,
but `map_values(f)` only uses `first($x|f)`.
Specifically, for object inputs, `map_value(f)` constructs
Specifically, for object inputs, `map_values(f)` constructs
the output object by examining in turn the value of
`first(.[$k]|f)` for each key, $k, of the input. If this
expression produces no values, then the corresponding key
+1 -1
View File
@@ -1007,7 +1007,7 @@ sections:
`($x|f)` for each value, $x, in the input array or object,
but `map_values(f)` only uses `first($x|f)`.
Specifically, for object inputs, `map_value(f)` constructs
Specifically, for object inputs, `map_values(f)` constructs
the output object by examining in turn the value of
`first(.[$k]|f)` for each key, $k, of the input. If this
expression produces no values, then the corresponding key