DeviceType
What kind of device the app runs on.
Usage
Build a support summary
This type is used by device.type
import { device } from 'kuito';
device.model; // 'iPhone 16 Pro', 'Pixel 8'
device.type === 'tablet';
if (!device.physical) console.log('on a simulator');Type declaration
export type DeviceType = 'unknown' | 'phone' | 'tablet' | 'desktop' | 'tv';Type
"unknown" | "phone" | "tablet" | "desktop" | "tv"Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.