Skip to main content

GetOptionIdentifierType<Opt>

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

Extracts the type of the identifying property from a BaseOption.

Type Parameters

Type Parameter
Opt extends BaseOption

Defined in

packages/react-querybuilder/src/types/options.ts:12


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.