Skip to main content

getQuoteFieldNamesWithArray()

getQuoteFieldNamesWithArray(quoteFieldNamesWith: string | [string, string] | null): [string, string]

Defined in: packages/core/src/utils/formatQuery/utils.ts:215

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
quoteFieldNamesWithstring | [string, string] | null

Returns

[string, string]

Default

['', '']

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.