Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / FunctionHandler

Type Alias: FunctionHandler ​

ts
type FunctionHandler = (context, ...args) => FilterValue;

JavaScript function that implements a JSONPath function.

Parameters ​

context ​

FunctionContext

Context of the function execution.

args ​

...FilterValue[]

Arguments with which the JSONPath function was called.

Returns ​

FilterValue