UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

8 lines (7 loc) 244 B
//#region src/utils/is-promise.ts function isPromise(obj) { return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function"; } //#endregion export { isPromise }; //# sourceMappingURL=is-promise.mjs.map