From 1e3fb8a2c0cca385d65c52679411b118b5fb4641 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:18:21 -0500 Subject: Rename "NULL" to "NONE" --- docs/integers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/integers.md') 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? ``` --- -- cgit v1.2.3