UNPKG

@extra-array/filter-at

Version:

Keeps values at given indices only.

11 lines (10 loc) 280 B
declare module "@extra-array/filter-at" { /** * Keeps values at given indices only. * @param x an array (updated) * @param is indices (sorted) * @returns x */ declare function filterAt<T>(x: T[], is: number[]): T[]; export = filterAt; //# sourceMappingURL=filterAt.d.ts.map}