aboutsummaryrefslogtreecommitdiff
path: root/docs/metamethods.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-24 16:18:21 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-24 16:18:21 -0500
commit1e3fb8a2c0cca385d65c52679411b118b5fb4641 (patch)
treee8e7ae5b4a8b4f39ed867c238f1a05494b6a50ac /docs/metamethods.md
parent0e10313d64f54dd587ebbcd5f413bd999333c911 (diff)
Rename "NULL" to "NONE"
Diffstat (limited to 'docs/metamethods.md')
-rw-r--r--docs/metamethods.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/metamethods.md b/docs/metamethods.md
index ca2ecccd..a3f73b54 100644
--- a/docs/metamethods.md
+++ b/docs/metamethods.md
@@ -6,7 +6,7 @@ behavior that is required for all types:
- `func as_text(obj:&T?, colorize=no, type:&TypeInfo_t -> Text)`: a method to
convert the type to a string. If `colorize` is `yes`, then the method should
include ANSI escape codes for syntax highlighting. If the `obj` pointer is
- `NULL`, a string representation of the type will be returned instead.
+ `NONE`, a string representation of the type will be returned instead.
- `func compare(x:&T, y:&T, type:&TypeInfo_t -> Int32)`: Return an integer representing
the result of comparing `x` and `y`, where negative numbers mean `x` is less