toFullOptionList()
toFullOptionList<
Opt>(optList:unknown[],baseProperties?:Record<string,unknown>,labelMap?:Record<string,unknown>):FullOptionList<Opt>
Defined in: packages/core/src/utils/optGroupUtils.ts:77
Converts an OptionList or FlexibleOptionList into a FullOptionList. Lists of full options are left unchanged.
Type Parameters
| Type Parameter |
|---|
Opt extends BaseOption<string> |
Parameters
| Parameter | Type |
|---|---|
optList | unknown[] |
baseProperties? | Record<string, unknown> |
labelMap? | Record<string, unknown> |
Returns
FullOptionList<Opt>
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.