Class: Count
A JSONPath filter function definition.
Implements
Constructors
constructor
• new Count(): Count
Returns
Properties
argTypes
• Readonly
argTypes: FunctionExpressionType
[]
Argument types expected by the filter function.
Implementation of
Defined in
returnType
• Readonly
returnType: ValueType
= FunctionExpressionType.ValueType
The type of the value returned by the filter function.
Implementation of
Defined in
Methods
call
▸ call(nodes
): number
A function with unknown number and type of arguments.
Parameters
Name | Type |
---|---|
nodes | JSONPathNodeList |
Returns
number