UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

7 lines (6 loc) 204 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 };