checkIsMobileTransport
Whether these options describe a mobile transport.
The same fact as ObsidianTransport.isMobile, but knowable from the options alone — so a caller can act on it before paying for a device. Reading it off a live transport means booting the emulator and the Appium session first, which is ~70 s to learn something the discriminant already says.
Import:
import { checkIsMobileTransport } from 'obsidian-integration-testing';Signature:
function checkIsMobileTransport(options: ObsidianTransportOptions): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
options | ObsidianTransportOptions | The resolved transport options. |
Returns: boolean — true for a mobile transport, false for desktop.