UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

7 lines (6 loc) 556 B
import { AnyIterable } from 'augmentative-iterable'; import { AnyMapper, FunctionAnyMapper, ResolverType } from '../types-internal'; import { DistinctIngredients } from './ingredients'; import { Choose } from '../types'; export declare function incPredicate<T>(resolver: ResolverType, mapper: FunctionAnyMapper<T>, maxOcurrences: number): any; export declare function distinctRecipe(ingredients: DistinctIngredients): <T>(this: AnyIterable<T>, baseMapper?: AnyMapper<T> | number, maxOcurrencesOrChoose?: number | Choose<T>, maxOcurrences?: number) => any;