UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

8 lines (7 loc) 282 B
export declare class ArrayUtils { private constructor(); static getIterator<T>(a: T[]): IterableIterator<T>; static isNullOrEmpty<T>(a: (T[] | undefined)): a is undefined; static getUniqueItems<T>(a: T[]): T[]; static removeFirst<T>(a: T[], item: T): boolean; }