Browser

View source

Identifies the browser category represented by a Device#browser value.

Use these labels with Device#browser to distinguish the browser categories associated with a device. Unknown is the default when no browser category is available.

Examples

import { Browser, Device } from '@wimaengine/device'

const device = new Device()
const isChromium = device.browser === Browser.Chrome ||
  device.browser === Browser.Edge

Variants


Unknown

View source

Unknown or not-yet-detected browser. This is the default value.