isTauri

external fun isTauri(): Boolean(source)

Checks whether the code is running inside a Tauri webview.

Useful for frontends that are also served on the web, to guard calls to APIs that only exist inside the application.

Since

2.0.0