UNPKG

@mcabreradev/filter

Version:

A powerful, SQL-like array filtering library for TypeScript and JavaScript with advanced pattern matching, MongoDB-style operators, deep object comparison, and zero dependencies

7 lines (6 loc) 182 B
export declare class FilterCache<T> { private cache; get(array: T[], key: string): T[] | undefined; set(array: T[], key: string, result: T[]): void; clear(): void; }