UNPKG

842 BTypeScriptView Raw
1/// <reference types="node" />
2/** @ignore */
3export declare const isPromise: (x: any) => x is PromiseLike<any>;
4/** @ignore */
5export declare function isArrayLike(x: any): x is ArrayLike<any>;
6/** @ignore */
7export declare function isIterable(x: any): x is Iterable<any>;
8/** @ignore */
9export declare function isAsyncIterable(x: any): x is AsyncIterable<any>;
10/** @ignore */
11export declare const isReadableNodeStream: (x: any) => x is NodeJS.ReadableStream;
12/** @ignore */
13export declare const isWritableNodeStream: (x: any) => x is NodeJS.WritableStream;
14/** @ignore */
15export declare const isReadableDOMStream: <T = any>(x: any) => x is ReadableStream<T>;
16/** @ignore */
17export declare const isWritableDOMStream: <T = any>(x: any) => x is WritableStream<T>;
18/** @ignore */
19export declare const isFetchResponse: (x: any) => x is Response;