Appearance
isElectron(): boolean
Check whether the current window is running inside Electron
import { isElectron } from 'ua-parser-js/helpers'; if(isElectron()) { console.log("Smile! you're on an Electron-based browser ^_^"); }