Skip to main content

GetOptionIdentifierType<Opt>

GetOptionIdentifierType<Opt>: Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string

Defined in: packages/react-querybuilder/src/types/options.ts:13

Extracts the type of the identifying property from a Option, ValueOption, or FullOption.

Type Parameters

Type Parameter
Opt extends BaseOption

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.