Skip to main content

Class: Length

jsonpath.functions.Length

A JSONPath filter function definition.

Implements

Constructors

constructor

new Length(): Length

Returns

Length

Properties

argTypes

Readonly argTypes: FunctionExpressionType[]

Argument types expected by the filter function.

Implementation of

FilterFunction.argTypes

Defined in

src/path/functions/length.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/length.ts:7

Methods

call

call(value): number | typeof Nothing

A function with unknown number and type of arguments.

Parameters

NameType
valueunknown

Returns

number | typeof Nothing

Implementation of

FilterFunction.call

Defined in

src/path/functions/length.ts:9