UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

9 lines 350 B
/** * @public * Given two `ArrayLike`, provides the items common between them in an `Array`. * * @remarks * See {@link arrayIntersect}. */ export declare function arrayIntersect<TItem>(a: ArrayLike<TItem>, b: ArrayLike<TItem>, getComparisonValue?: (item: TItem, index: number) => unknown): TItem[]; //# sourceMappingURL=array-intersect.d.ts.map