1
0
forked from noxious/server

4 lines
87 B
TypeScript

export function unduplicateArray(array: any[]) {
return [...new Set(array.flat())]
}