R
fn

detectPlatform

tested

Detect the platform from the user agent (defaults to `'other'` off-browser).

Signature

ts
export function detectPlatform(): Platform{ ... }

Returns

Platform