Browse Source

document concat and append function (#668)

pull/614/merge
Fabian Halkivaha 4 years ago committed by GitHub
parent
commit
15354f7fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      README.md

20
README.md

@ -79,15 +79,17 @@ Functions
Functions can be invoked at the tail end of a path - the input to a function is the output of the path expression. Functions can be invoked at the tail end of a path - the input to a function is the output of the path expression.
The function output is dictated by the function itself. The function output is dictated by the function itself.
| Function | Description | Output | | Function | Description | Output type |
| :------------------------ | :------------------------------------------------------------------ |-----------| | :------------------------ | :------------------------------------------------------------------ |:----------- |
| min() | Provides the min value of an array of numbers | Double | | min() | Provides the min value of an array of numbers | Double |
| max() | Provides the max value of an array of numbers | Double | | max() | Provides the max value of an array of numbers | Double |
| avg() | Provides the average value of an array of numbers | Double | | avg() | Provides the average value of an array of numbers | Double |
| stddev() | Provides the standard deviation value of an array of numbers | Double | | stddev() | Provides the standard deviation value of an array of numbers | Double |
| length() | Provides the length of an array | Integer | | length() | Provides the length of an array | Integer |
| sum() | Provides the sum value of an array of numbers | Double | | sum() | Provides the sum value of an array of numbers | Double |
| keys() | Provides the property keys (An alternative for terminal tilde `~`) | `Set<E>` | | keys() | Provides the property keys (An alternative for terminal tilde `~`) | `Set<E>` |
| concat(X) | Provides a concatinated version of the path output with a new item | like input |
| append(X) | add an item to the json path output array | like input |
Filter Operators Filter Operators
----------------- -----------------

Loading…
Cancel
Save