Signature
path=null start=null
Type Parameters
- T extends
string | number
Parameters
- arr:
T[]- The array to remove duplicates from.
Returns
T[] - A new array with duplicates removed.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Removes duplicates from an array of numbers or strings.
removeDuplicated<T extends string | number>(arr: T[]): T[]
string | numberT[] - The array to remove duplicates from.T[] - A new array with duplicates removed.