diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-24 16:18:21 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-24 16:18:21 -0500 |
| commit | 1e3fb8a2c0cca385d65c52679411b118b5fb4641 (patch) | |
| tree | e8e7ae5b4a8b4f39ed867c238f1a05494b6a50ac /docs/integers.md | |
| parent | 0e10313d64f54dd587ebbcd5f413bd999333c911 (diff) | |
Rename "NULL" to "NONE"
Diffstat (limited to 'docs/integers.md')
| -rw-r--r-- | docs/integers.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/integers.md b/docs/integers.md index d995d139..213aa1bd 100644 --- a/docs/integers.md +++ b/docs/integers.md @@ -171,7 +171,7 @@ func parse(text: Text -> Int?) **Returns:** The integer represented by the text. If the given text contains a value outside of the representable range or if the entire text can't be parsed as an integer, -`NULL` will be returned. +`NONE` will be returned. **Example:** ```tomo @@ -182,11 +182,11 @@ of the representable range or if the entire text can't be parsed as an integer, # Can't parse: >> Int.parse("asdf") -= NULL : Int? += NONE : Int? # Outside valid range: >> Int8.parse("9999999") -= NULL : Int8? += NONE : Int8? ``` --- |
