summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 03:24:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 03:24:13 +0800
commit021a3ff60c46ffbc8fc488136f7857da5c21b71b (patch)
treead57919afc803ca6ed8fbc3eb86fd53d10c2bfbd /script/vm/node.lua
parent082327ae5f54d14685a5ce580cd216bc16ef409e (diff)
downloadlua-language-server-021a3ff60c46ffbc8fc488136f7857da5c21b71b.zip
truly -> truthy
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index 06023ca5..204a149d 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -114,7 +114,7 @@ function mt:isNullable()
end
---@return vm.node
-function mt:setTruly()
+function mt:setTruthy()
if self.optional == true then
self.optional = nil
end