Melon.std.system.osInformation
Contains the current OS information.
Status: stable
Type: OSInformation
Types
Name | Schema |
---|---|
|
|
|
|
Example usage
const { platform } = Melon.std.system.osInformation;
if (platform === Platform.Unix) {
//execute Linux/Unix only logic...
}