@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
8 lines (7 loc) • 435 B
TypeScript
import { FluentAsyncIterable, FluentIterable } from '.';
/**
* Return true when the informed value is an fluent iterable, and false otherwise
* @param value the value to be analyzed
* @returns The return is also a type guard, ie, inside an if with that function, the value will be considered an fluent iterable
*/
export declare function isAnyFluentIterable<T>(value: unknown): value is FluentIterable<T> | FluentAsyncIterable<T>;