Env¶
| Spice | |
|---|---|
Functions¶
getEnv¶
| Spice | |
|---|---|
Returns the content of an environment variable as string.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
Returns: Result<string> — Env variable content or error
setEnv¶
| Spice | |
|---|---|
Sets the content of an environment variable to the given value.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string |
|
value |
string |
Returns: bool — Successful or not