@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
5 lines (4 loc) • 300 B
TypeScript
import { AnyIterable } from 'augmentative-iterable';
import { AnyMapper } from '../types-internal';
import { DistinctIngredients } from './ingredients';
export declare function distinctByRecipe(ingredients: DistinctIngredients): <T>(this: AnyIterable<T>, ...baseMappers: Array<AnyMapper<T>>) => any;