UNPKG

util-ex

Version:

Browser-friendly enhanced util fully compatible with standard node.js

7 lines (6 loc) 283 B
/** * Checks whether an object is async iterable. * @param {any} obj The object to be checked. * @returns {obj is AsyncIterable<any>} Returns true if the object is async iterable; otherwise, returns false. */ export function isAsyncIterable(obj: any): obj is AsyncIterable<any>;