Skip to main content

toFullOption()

toFullOption<Opt>(opt, baseProperties?): ToFullOption<Opt>

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

ParameterType
optOpt
baseProperties?Record<string, unknown>

Returns

ToFullOption<Opt>

Defined in

packages/react-querybuilder/src/utils/optGroupUtils.ts:30


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.