Class: Length
A JSONPath filter function definition.
Implements
Constructors
constructor
• new Length(): Length
Returns
Properties
argTypes
• Readonly
argTypes: FunctionExpressionType
[]
Argument types expected by the filter function.
Implementation of
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
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
Name | Type |
---|---|
value | unknown |
Returns
number
| typeof Nothing