UNPKG

@reactivex/ix-es5-esm

Version:

The Interactive Extensions for JavaScript

9 lines (8 loc) 363 B
/** * Determines whether the given async-iterable is empty. * * @template T The type of elements in the source sequence. * @param {Iterable<T>} source The source async-iterable to determine whether it is empty. * @returns {boolean} Returns true if the sequence is empty, otherwise false. */ export declare function isEmpty<T>(source: Iterable<T>): boolean;