OperatingSystemGetters extension
Convenience operations on OperatingSystem.
Implemented as extensions to allow users to implement OperatingSystem without having to implement all of these getters.
Properties
- isAndroid → bool
-
Whether the operating system is a version of
Android.
no setter
- isBrowser → bool
-
Whether running in a web browser.
no setter
- isFuchsia → bool
-
Whether the operating system is a version of
Fuchsia.
no setter
- isIOS → bool
-
Whether the operating system is a version of
iOS.
no setter
- isLinux → bool
-
Whether the operating system is a version of
Linux.
no setter
- isMacOS → bool
-
Whether the operating system is a version of
macOS.
no setter
- isWindows → bool
-
Whether the operating system is a version of
Microsoft Windows.
no setter