ballerina.os package
public function getArchitecture ( ) ( string )
Returns the architecture of the operating system.
public function getEnv ( string name ) ( string )
Returns the environment variable value associated with the provided name.
| Parameter Name | Data Type | Description |
|---|---|---|
| name | string | Name of the environment variable |
public function getMultivaluedEnv ( string name ) ( string[] )
Splits the value of an environment variable using path separator and returns the separated values as an array.
| Parameter Name | Data Type | Description |
|---|---|---|
| name | string | Name of the environment variable |
public function getName ( ) ( string )
Returns the name of the operating system.
public function getVersion ( ) ( string )
Returns the version of the operating system.