Skip to main content

FormatQueryValidateRule()

FormatQueryValidateRule = (rule: RuleType) => readonly [boolean | ValidationResult | undefined, RuleValidator | undefined]

Defined in: packages/react-querybuilder/src/types/export.ts:435

Rule validator for formatQuery.

Parameters

ParameterType
ruleRuleType

Returns

readonly [boolean | ValidationResult | undefined, RuleValidator | undefined]


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.