MCPcopy
hub / github.com/callstack/agent-device / isIosFamily

Function isIosFamily

src/kernel/device.ts:82–84  ·  view source on GitHub ↗
(device: Pick<DeviceInfo, 'platform' | 'appleOs'>)

Source from the content-addressed store, hash-verified

80 * behavior-for-behavior (false for macOS and every non-Apple platform).
81 */
82export function isIosFamily(device: Pick<DeviceInfo, 'platform' | 'appleOs'>): boolean {
83 return isApplePlatform(device.platform) && !isMacOs(device);
84}
85
86export function isMobilePlatform(device: Pick<DeviceInfo, 'platform' | 'appleOs'>): boolean {
87 // Phone/tablet device family: Android plus every Apple OS except the macOS desktop

Callers 15

readAppEventUrlTemplateFunction · 0.90
handlePressCommandFunction · 0.90
buildPressSequenceStepsFunction · 0.90
buildSwipeSequenceStepsFunction · 0.90
handleOpenCommandFunction · 0.90
handleKeyboardCommandFunction · 0.90
handlePushCommandFunction · 0.90
isIosMobileSimulatorFunction · 0.90

Calls 2

isApplePlatformFunction · 0.85
isMacOsFunction · 0.85

Tested by 10

isIosMobileSimulatorFunction · 0.72
isIosMobileSimulatorFunction · 0.72
supportsHostAudioProbeFunction · 0.72
resolveLogBackendByHandFunction · 0.72