github-pages-deploy-action/node_modules/rxjs/internal/util/isPromise.d.ts

7 lines
259 B
TypeScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
/**
* Tests to see if the object is an ES2015 (ES6) Promise
* @see {@link https://www.ecma-international.org/ecma-262/6.0/#sec-promise-objects}
* @param value the object to test
*/
export declare function isPromise(value: any): value is PromiseLike<any>;