UNPKG

249 BTypeScriptView Raw
1/**
2 * Returns the distinct elements of an iterable. The result is an array whose
3 * elements are ordered by first occurrence.
4 */
5declare function distinctArray<T>(xs: Iterable<T>): T[];
6
7declare namespace distinctArray {}
8
9export = distinctArray;