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

Function isEnabled

packages/core/src/exports.ts:297–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295
296/** If the SDK is initialized & enabled. */
297export function isEnabled(): boolean {
298 const client = getClient();
299 return client?.getOptions().enabled !== false && !!client?.getTransport();
300}
301
302/**
303 * Add an event processor.

Callers 3

getTraceDataFunction · 0.90
ensureIsWrappedFunction · 0.90
patchedMiddlewareMethod · 0.50

Calls 2

getClientFunction · 0.90
getOptionsMethod · 0.65

Tested by

no test coverage detected