MCPcopy Create free account
hub / github.com/dailydotdev/apps / isIOS

Function isIOS

packages/shared/src/lib/func.ts:112–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110};
111
112export const isIOS = (): boolean =>
113 /iPhone|iPad/i.test(globalThis?.navigator.userAgent);
114
115export const isIOSNative = (): boolean => {
116 const runtimeWindow = globalThis as unknown as RuntimeWindow;

Callers 5

ShellBlockFunction · 0.90
getPreviewPlatformFunction · 0.90
SpotlightFunction · 0.90
SocialRegistrationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected