getFirstOption()
getFirstOption<
Opt
>(arr
?):GetOptionIdentifierType
<Opt
>
Gets the first option from an OptionList.
Type parameters
Type parameter |
---|
Opt extends BaseOption <string > |
Parameters
Parameter | Type |
---|---|
arr ? | FlexibleOptionGroup <Opt >[] | Opt [] |
Returns
Source
packages/react-querybuilder/src/utils/optGroupUtils.ts:61
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.