MCPcopy Index your code
hub / github.com/callstack/agent-device / isAppleDeviceCandidateSet

Function isAppleDeviceCandidateSet

src/kernel/device.ts:372–374  ·  view source on GitHub ↗
(devices: DeviceInfo[])

Source from the content-addressed store, hash-verified

370}
371
372function isAppleDeviceCandidateSet(devices: DeviceInfo[]): boolean {
373 return devices.length > 0 && devices.every((device) => isApplePlatform(device.platform));
374}
375
376function isIpadDeviceName(name: string): boolean {
377 return /\bipad\b/i.test(name);

Callers 1

resolveDeviceFunction · 0.85

Calls 1

isApplePlatformFunction · 0.85

Tested by

no test coverage detected