init source
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 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>;
|
||||
Reference in New Issue
Block a user