UNPKG

@walts81/linq-ts

Version:

Typescript/Javascript LINQ implementation library

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