Skip to main content

numerifyValues()

numerifyValues(rg: RuleGroupTypeAny): RuleGroupTypeAny

Converts all string-type value properties of a query object into number where appropriate.

Used by formatQuery for the json* formats when parseNumbers is true.

Parameters

ParameterType
rgRuleGroupTypeAny

Returns

RuleGroupTypeAny

Defined in

packages/react-querybuilder/src/utils/formatQuery/utils.ts:89


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.