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
| Parameter | Type |
|---|---|
node | { kind: "value"; value: unknown; valueType?: string; } |
node.kind | "value" |
node.value | unknown |
node.valueType? | string |
quote | string |
opts | ValueProcessorOptions |
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.