14 lines
411 B
JavaScript
14 lines
411 B
JavaScript
// Metro module 6400 (f6401).
|
|
import { getClient } from "./Module6395";
|
|
export function hasTracingEnabled(a0) {
|
|
if (typeof globalThis.__SENTRY_TRACING__ === "boolean" && !__SENTRY_TRACING__) {
|
|
return false;
|
|
}
|
|
let r4 = a0;
|
|
const client = getClient();
|
|
if (!a0) {
|
|
r4 = client && client.getOptions();
|
|
}
|
|
return !!r4 && (r4.enableTracing || "tracesSampleRate" in r4 || "tracesSampler" in r4);
|
|
}
|