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) 273 B
import type { Expression, FilterConfig } from '../types'; import type { DebugNode } from './debug.types'; export declare const evaluateWithDebug: <T>(array: T[], tree: DebugNode, expression: Expression<T>, config: FilterConfig) => { items: T[]; tree: DebugNode; };