toFullOption()
toFullOption<
Opt>(opt:string|Opt,baseProperties?:Record<string,unknown>,labelMap?:Record<string,unknown>):ToFullOption<Opt>
Defined in: packages/core/src/utils/optGroupUtils.ts:38
Converts an Option or ValueOption (i.e., BaseOption) into a FullOption. Full options are left unchanged.
Type Parameters
| Type Parameter |
|---|
Opt extends BaseOption<string> |
Parameters
| Parameter | Type |
|---|---|
opt | string | Opt |
baseProperties? | Record<string, unknown> |
labelMap? | Record<string, unknown> |
Returns
ToFullOption<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.