uniqByIdentifier()
uniqByIdentifier<
T>(originalArray:T[]):T[]
Generates a new array of objects with duplicates removed based
on the identifying property (value or name)
Type Parameters
| Type Parameter |
|---|
T extends RequireAtLeastOne<{ name: string; value: string; }, "name" | "value"> |
Parameters
| Parameter | Type |
|---|---|
originalArray | T[] |
Returns
T[]
Defined in
packages/react-querybuilder/src/utils/optGroupUtils.ts:114
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.