UNPKG

@walts81/linq-ts

Version:

Typescript/Javascript LINQ implementation library

7 lines (6 loc) 292 B
declare global { interface Array<T> { removeAll(this: Array<T>, expression?: (item: T, index?: number) => boolean, mutateArray?: boolean): T[]; } } export declare function removeAll<T>(this: T[], expression?: (item: T, index?: number) => boolean, mutateArray?: boolean): T[];