function isPromise
Jump to headingisPromise(object: unknown): object is Promise<unknown>Returns true if the value is a built-in Promise.
util.types.isPromise(Promise.resolve(42)); // Returns true
Parameters Jump to heading
Jump to headingobject: unknownReturn Type Jump to heading
object is Promise<unknown>