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

Function isApplePlatform

src/kernel/device.ts:56–60  ·  view source on GitHub ↗
(
  platform: Platform | PlatformSelector | undefined,
)

Source from the content-addressed store, hash-verified

54};
55
56export function isApplePlatform(
57 platform: Platform | PlatformSelector | undefined,
58): platform is ApplePlatform | 'apple' {
59 return platform === 'apple' || platform === 'ios' || platform === 'macos';
60}
61
62/**
63 * The macOS Apple-OS leaf: the AppKit desktop host. The post-collapse replacement for

Callers 15

normalizeDeviceFunction · 0.90
shouldUseIosDragSeriesFunction · 0.90
parity.test.tsFile · 0.90
appleOsCapabilitiesFunction · 0.90
teardownSessionResourcesFunction · 0.90
relaunchCloseAppFunction · 0.90

Calls

no outgoing calls

Tested by 1

gatedResolversByHandFunction · 0.72