@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
7 lines (6 loc) • 324 B
TypeScript
/**
* Return true when the informed value is an 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 iterable
*/
export declare function isIterable<T>(value: unknown): value is Iterable<T>;