@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
10 lines (9 loc) • 337 B
TypeScript
import { FluentIterable } from './types';
/**
* Tranforms an iterable into a [[FluentIterable]].
* @typeparam T The type of the items in the iterable.
* @param iterable The iterable instance.
* @returns The [[FluentIterable]] instance.
*/
declare function fluent<T>(iterable: Iterable<T>): FluentIterable<T>;
export default fluent;