Class: BooleanLiteral
jsonpath.expressions.BooleanLiteral
Base class for JSONPath ValueType literals.
Hierarchy
-
↳
BooleanLiteral
Constructors
constructor
• new BooleanLiteral(token
, value
): BooleanLiteral
Parameters
Name | Type |
---|---|
token | Token |
value | boolean |
Returns
Overrides
FilterExpressionLiteral.constructor
Defined in
Properties
token
• Readonly
token: Token
Inherited from
Defined in
value
• Readonly
value: boolean
Defined in
Methods
evaluate
▸ evaluate(): boolean
Evaluate the filter expression in the given context.
Returns
boolean
Overrides
FilterExpressionLiteral.evaluate
Defined in
toString
▸ toString(): string
Return a string representation of the expression.
Returns
string
Overrides
FilterExpressionLiteral.toString