Skip to main content

isMongoDBExpressionOperand()

isMongoDBExpressionOperand(operand: unknown): boolean

Defined in: packages/core/src/utils/parseMongoDB/utils.ts:42

A MongoDB $expr comparison operand that is a candidate expression subtree: an aggregation-operator object (e.g. { $multiply: [...] }). Bare "$field" strings and literals are not expression operands. The expr-supplied getExpression handler decides whether it maps to a known function.

Parameters

ParameterType
operandunknown

Returns

boolean


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.