UNPKG

556 BTypeScriptView Raw
1import { Filter as OFilter } from '../Object/Filter';
2import { ListOf } from '../Object/ListOf';
3import { Match } from '../Any/_Internal';
4import { ObjectOf } from './ObjectOf';
5import { List } from './List';
6/**
7 * Filter out of `L` the entries that match `M`
8 * @param L to remove from
9 * @param M to select entries
10 * @param match (?=`'default'`) to change precision
11 * @returns [[List]]
12 * @example
13 * ```ts
14 * ```
15 */
16export declare type Filter<L extends List, M extends any, match extends Match = 'default'> = ListOf<OFilter<ObjectOf<L>, M, match>>;