Chenloong999's picture
backup 2026-05-20T03:27:17.780508
31e8457 verified
Raw History Blame Contribute Delete
292 Bytes
/** @internal */
export const isCloudflare =
typeof navigator !== "undefined" &&
typeof navigator.userAgent === "string" &&
navigator.userAgent.includes("Cloudflare")
/** @internal */
export const isEdgeRuntime =
// @ts-expect-error
typeof EdgeRuntime === "string" || isCloudflare