UNPKG

228 BTypeScriptView Raw
1/**
2 * Returns the count of distinct elements selected from an array.
3 */
4declare function countDistinct<T1>(iter: Iterable<T1>, selector: (item: T1) => any): number;
5
6declare namespace countDistinct {}
7
8export = countDistinct;