MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isBrowserBundle

Function isBrowserBundle

packages/core/src/utils/env.ts:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 * @returns true if this is a browser bundle build.
24 */
25export function isBrowserBundle(): boolean {
26 return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;
27}
28
29/**
30 * Get source of SDK.

Callers 1

isNodeEnvFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected