Functions
getEnv | I Returns the environment variable value associated with the provided name. |
getUserHome | I Returns the current user's home directory path. |
getUsername | I Returns the current user's name. |
getEnv
Isolated Function
Returns the environment variable value associated with the provided name.
1string port = os:getEnv("HTTP_PORT");
Parameters
- name string
Name of the environment variable
getUserHome
function getUserHome() returns string
Isolated Function
Returns the current user's home directory path.
1string userHome = os:getUserHome();