(device: Pick<DeviceInfo, 'platform' | 'target'>)
| 129 | * so the `isApplePlatform` gate is load-bearing (do not widen it to any TV target). |
| 130 | */ |
| 131 | export function isTvOsDevice(device: Pick<DeviceInfo, 'platform' | 'target'>): boolean { |
| 132 | return isApplePlatform(device.platform) && device.target === 'tv'; |
| 133 | } |
| 134 | |
| 135 | export function isPlatform(value: unknown): value is Platform { |
| 136 | // Internal device-platform membership derived from the canonical PLATFORMS tuple. |
no test coverage detected