liusuyi
2024-08-08 46f7995983615272a31d09965a86d436e4a9ee4d
1
2
3
4
5
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>;