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

Function isInitialized

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

Source from the content-addressed store, hash-verified

290 * Returns true if Sentry has been properly initialized.
291 */
292export function isInitialized(): boolean {
293 return !!getClient();
294}
295
296/** If the SDK is initialized & enabled. */
297export function isEnabled(): boolean {

Callers 1

initFunction · 0.85

Calls 1

getClientFunction · 0.90

Tested by

no test coverage detected