MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / isWeb

Function isWeb

packages/core/src/js/utils/environment.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57/** Checks if the current platform is web */
58export function isWeb(): boolean {
59 return Platform.OS === 'web';
60}
61
62/**
63 * Checks if Expo's native fetch implementation (`expo/fetch`) is active.

Callers 12

wrapFunction · 0.90
showScreenshotButtonFunction · 0.90
base64ToUint8ArrayFunction · 0.90
feedbackAlertDialogFunction · 0.90
startShakeListenerFunction · 0.90
FeedbackFormClass · 0.90
breadcrumbsIntegrationFunction · 0.90
appRegistryIntegrationFunction · 0.90
SentryPlaygroundFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected