Skip to main content

quoteLeaf()

quoteLeaf(node: { kind: "value"; value: unknown; valueType?: string; }, quote: string, opts: ValueProcessorOptions): string

Defined in: expr/src/utils/serializeInfix.ts:22

Quotes a non-numeric leaf value with quote, escaping embedded quote chars when asked.

Parameters

ParameterType
node{ kind: "value"; value: unknown; valueType?: string; }
node.kind"value"
node.valueunknown
node.valueType?string
quotestring
optsValueProcessorOptions

Returns

string


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.