class OperatingSystemExtensions extends Object
Extensions to the `System` class to add convenience methods for querying the current platform.
| Constructor and description |
|---|
OperatingSystemExtensions() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
isArm64(System self)Return whether the current processor has a 64-bit ARM architecture. |
|
static boolean |
isMacOs(System self)Return whether the current OS is macOS. |
|
static boolean |
isWindows(System self)Return whether the current OS is Windows. |