UNPKG

@walts81/linq-ts

Version:

Typescript/Javascript LINQ implementation library

7 lines (6 loc) 239 B
declare global { interface Array<T> { intersect(this: Array<T>, arr: Array<T>, compare?: (a: T, b: T) => boolean): T[]; } } export declare function intersect<T>(this: T[], arr: T[], compare?: (a: T, b: T) => boolean): T[];