Skip to main content

getQuoteFieldNamesWithArray()

getQuoteFieldNamesWithArray(quoteFieldNamesWith): [string, string]

Converts the quoteFieldNamesWith option into an array of two strings. If the option is a string, the array elements are both that string.

Parameters

ParameterType
quoteFieldNamesWithnull | string | [string, string]

Returns

[string, string]

Default

['', '']

Defined in

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


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.