8 lines
255 B
TypeScript
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>;
|