Multiselect.preventDuplicates method
Multiselect › preventDuplicates
Unofficial
Prevent duplicates in the multiselect.Signature:
preventDuplicates(findDuplicate: (value: string, values: string[]) => number): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| findDuplicate | (value: string, values: string[]) => number | the function to find a duplicate. |
Returns: this — the multiselect.