For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device.os

함수형 API getPlatformOS로도 같은 기능을 쓸 수 있어요.

기능 설명

현재 실행 중인 플랫폼 정보예요. 'ios' 또는 'android' 중 하나예요.

상수 값이라 호출 없이 바로 읽어요.

타입

Device.os: "ios" | "android";

Params

없음

Response

'ios' 또는 'android'예요.

예시 코드

import { Device } from "@apps-in-toss/web-framework";

console.log(Device.os);

도움이 되었나요?