liusuyi
2023-07-26 4b838e2a64b4f441819f43fccd067c076eb422b9
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>;