preferFlagProps()
preferFlagProps(
props:QueryBuilderFlags,contextVals:QueryBuilderFlags,finalize?:boolean):QueryBuilderFlags
Defined in: packages/core/src/utils/preferProp.ts:43
For a given set of defaults, props, and context values, return the first provided of prop, context, and default—in that order—for each property in the defaults object.
Parameters
| Parameter | Type |
|---|---|
props | QueryBuilderFlags |
contextVals | QueryBuilderFlags |
finalize? | boolean |
Returns
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.