Files
2025-05-15 13:32:55 +10:00

8 lines
255 B
TypeScript

/**
* Returns true if the provided object implements the AsyncIterator protocol via
* implementing a `Symbol.asyncIterator` method.
*/
export declare function isAsyncIterable(
maybeAsyncIterable: any,
): maybeAsyncIterable is AsyncIterable<unknown>;