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

3 lines (2 loc) 162 B
import type { PredicateFunction } from '../../types'; export declare function createFunctionPredicate<T>(expression: PredicateFunction<T>): (item: T) => boolean;