isPromiseOn this pageisPromiseDetect whether a object is Promise.APIfunction isPromise(value: any): value is Promise<any>;Exampleimport { isPromise } from "@lilib/utils";isPromise(new Promise(() => {}));// => trueisPromise({});// => false