toOptions()
toOptions(
arr?:OptionList):Element[] |null
Defined in: packages/react-querybuilder/src/utils/toOptions.tsx:11
Generates an array of <option> or <optgroup> elements
from a given OptionList.
Parameters
| Parameter | Type |
|---|---|
arr? | OptionList |
Returns
Element[] | null
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.