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

Environment.tossAppVersion

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

기능 설명

토스 앱 버전이에요. 예를 들어 5.206.0 형태예요. 로그를 남기거나, 특정 버전 이상에서만 기능을 실행할 때 사용해요.

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

타입

Environment.tossAppVersion: string;

Params

없음

Response

문자열이에요. 예를 들어 '5.261.0'이에요.

예시 코드

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

console.log(Environment.tossAppVersion);

도움이 되었나요?