os_detect library

Information about the current operating system.

Properties

isAndroid bool
Whether the current operating system is a version of Android.
no setter
isBrowser bool
Whether running in a web browser.
no setter
isFuchsia bool
Whether the current operating system is a version of Fuchsia.
no setter
isIOS bool
Whether the current operating system is a version of iOS.
no setter
isLinux bool
Whether the current operating system is a version of Linux.
no setter
isMacOS bool
Whether the current operating system is a version of macOS.
no setter
isWindows bool
Whether the current operating system is a version of Microsoft Windows.
no setter
operatingSystem String
Identification of the current operating system or platform.
no setter
operatingSystemVersion String
Representation of the version of the current operating system or platform.
no setter