Skip to main content Skip to complementary content

CheckExpression method

Overview

Checks if a given expression is valid.

Parameters

Name Description Type
qExpr Expression to check. String
qLabels

List of labels.

This parameter is optional.

Array of String

Outputs

The following is returned in the output:

{ "jsonrpc": "2.0", "id": 2, "result": { "qErrorMsg": "<message displayed when there is a syntax error>", "qBadFieldNames": [
{ "qFrom": <position in the expression of the first character of the field name>, "qCount": <number of characters of the field name> } ], "qDangerousFieldNames": [] } }
Information noteThe expression is correct if the parameters qErrorMsg, qBadFieldNames and qDangerousFieldNames are empty.

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!