import { isFunction } from './isFunction'; export function isAsyncIterable(obj: any): obj is AsyncIterable { return Symbol.asyncIterator && isFunction(obj?.[Symbol.asyncIterator]); }