diff options
Diffstat (limited to 'api/builtins.md')
| -rw-r--r-- | api/builtins.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/builtins.md b/api/builtins.md index 6d042741..2ef14275 100644 --- a/api/builtins.md +++ b/api/builtins.md @@ -166,7 +166,7 @@ say("world!") ## setenv ```tomo -setenv : func(name: Text, value: Text -> Void) +setenv : func(name: Text, value: Text? -> Void) ``` Sets an environment variable. @@ -174,7 +174,7 @@ Sets an environment variable. Argument | Type | Description | Default ---------|------|-------------|--------- name | `Text` | The name of the environment variable to set. | - -value | `Text` | The new value of the environment variable. | - +value | `Text?` | The new value of the environment variable. If `none`, then the environment variable will be unset. | - **Return:** Nothing. |
