isFullOptionGroupArray()
isFullOptionGroupArray(
arr:any,__namedParameters: {allowEmpty?:boolean; }):arr is OptionGroup<{ disabled?: boolean; label: string; name: string; value: string; [key: string]: unknown }>[]
Defined in: packages/core/src/utils/optGroupUtils.ts:243
Determines if a FlexibleOptionList is a OptionGroup array of FullOption.
Parameters
| Parameter | Type |
|---|---|
arr | any |
__namedParameters | { allowEmpty?: boolean; } |
__namedParameters.allowEmpty? | boolean |
Returns
arr is OptionGroup<{ disabled?: boolean; label: string; name: string; value: string; [key: string]: unknown }>[]
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.