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

Function getCrypto

packages/core/src/utils/misc.ts:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20function getCrypto(): CryptoInternal | undefined {
21 const gbl = GLOBAL_OBJ as typeof GLOBAL_OBJ & CryptoGlobal;
22 return gbl.crypto || gbl.msCrypto;
23}
24
25let emptyUuid: string | undefined;
26

Callers 1

uuid4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected