UNPKG

react-torch

Version:

A lib to server-side render with react.

4 lines (3 loc) 288 B
export declare function isPromise<T, S>(input: PromiseLike<T> | S): input is PromiseLike<T>; export declare function isArray<T, S>(input: ArrayLike<T> | S): input is ArrayLike<T>; export declare function isFunction<Args, R, S>(input: ((args: Args) => R) | S): input is (args: Args) => R;