isElectron()
function isElectron(): boolean;Defined in: env.ts:51
Returns true when running inside the Mobile Locker Electron desktop app.
Detected via the Mobile Locker user agent prefix set by the Electron app.
Prefer isWindows when targeting the Windows app rather than Electron specifically.
Use isApp if you want to match any native app environment.
Returns
Section titled “Returns”boolean