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

4 lines (3 loc) 224 B
import type { Expression, FilterOptions } from '../../types'; export declare const useFilterCore: <T>(d: T[], e: Expression<T>, o?: FilterOptions) => T[]; export declare const useIsFiltering: <T>(f: T[], d: T[]) => boolean;