UNPKG

@benev/slate

Version:
6 lines (3 loc) 72 B
export function dedupe<T>(array: T[]) { return [...new Set(array)] }