Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
*/
292
export
function
isInitialized(): boolean {
293
return
!!getClient();
294
}
295
296
/** If the SDK is initialized & enabled. */
297
export
function
isEnabled(): boolean {
Callers
1
init
Function · 0.85
Calls
1
getClient
Function · 0.90
Tested by
no test coverage detected