diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/3.manual/manual.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index a2334efa..2f36392c 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1040,7 +1040,7 @@ sections: If you want the value-argument behaviour for defining simple functions, you can just use a variable: - def addvalue(f): f as $value | map(, + $value); + def addvalue(f): f as $value | map(. + $value); With that definition, `addvalue(.foo)` will add the current input's `.foo` field to each element of the array. |