x/tsafe/isPromiseLike.ts
12345// eslint-disable-next-line @typescript-eslint/no-explicit-anyexport function isPromiseLike<T = void>(o: any): o is PromiseLike<T> { return typeof o === "object" && o !== null && "then" in o && typeof o.then === "function";}