toArray()
toArray(
v:any,__namedParameters: {retainEmptyStrings?:boolean; }):any[]
Defined in: packages/core/src/utils/arrayUtils.ts:55
Splits a string by comma then trims each element. Arrays are returned as is except any string elements are trimmed.
Parameters
| Parameter | Type |
|---|---|
v | any |
__namedParameters | { retainEmptyStrings?: boolean; } |
__namedParameters.retainEmptyStrings? | boolean |
Returns
any[]
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.