Device.os
Functional API
getPlatformOSYou can use the same feature with it as well.
Feature description
This is information about the platform currently running. 'ios' or 'android' It's one of them.
It's a constant value, so you can read it directly without calling anything.
Type
Device.os: "ios" | "android";Params
None
Response
'ios' or 'android'.
Example code
import { Device } from "@apps-in-toss/web-framework";
console.log(Device.os);Was this helpful?