Skip to main content

isJsonLogicExpressionOperand()

isJsonLogicExpressionOperand(logic: unknown): logic is RQBJsonLogic

Defined in: packages/core/src/utils/parseJsonLogic/utils.ts:112

A JsonLogic comparison operand that is a candidate expression subtree: a plain object that is not a variable reference (i.e. an arithmetic/function operation object). The expr-supplied getExpression handler decides whether it maps to a known function.

Parameters

ParameterType
logicunknown

Returns

logic is RQBJsonLogic


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.