export const hasNoDuplicates = (arr: any[]) => new Set(arr).size === arr.length;