Skip to main content

Class: Value

jsonpath.functions.Value

A JSONPath filter function definition.

Implements

Constructors

constructor

new Value(): Value

Returns

Value

Properties

argTypes

Readonly argTypes: FunctionExpressionType[]

Argument types expected by the filter function.

Implementation of

FilterFunction.argTypes

Defined in

src/path/functions/value.ts:6


returnType

Readonly returnType: ValueType = FunctionExpressionType.ValueType

The type of the value returned by the filter function.

Implementation of

FilterFunction.returnType

Defined in

src/path/functions/value.ts:7

Methods

call

call(nodes): unknown

A function with unknown number and type of arguments.

Parameters

NameType
nodesJSONPathNodeList

Returns

unknown

Implementation of

FilterFunction.call

Defined in

src/path/functions/value.ts:9