aboutsummaryrefslogtreecommitdiffstats
path: root/core/value.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-18 16:03:38 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-18 16:03:38 +0000
commitba30e05dc8e5e83c40ef83096aba0f6d2fd0ab30 (patch)
tree24c2244fdadf7753b7747d6f9a3c284cb2f6de27 /core/value.moon
parentremove debug/ lib (diff)
downloadalive-ba30e05dc8e5e83c40ef83096aba0f6d2fd0ab30.tar.gz
alive-ba30e05dc8e5e83c40ef83096aba0f6d2fd0ab30.zip
docs/internal: add builtins and invoke modules
Diffstat (limited to 'core/value.moon')
-rw-r--r--core/value.moon4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/value.moon b/core/value.moon
index 2e93e70..0f40ef3 100644
--- a/core/value.moon
+++ b/core/value.moon
@@ -1,5 +1,5 @@
----
--- `alive` Value(stream), implements the `AST` inteface.
+-- Value(stream), implements the `AST` inteface.
--
-- @classmod Value
import Result from require 'core.result'
@@ -31,7 +31,7 @@ class Value
--
-- @tparam[opt] string type the type to check for
-- @tparam[optchain] string msg message to throw if type don't match
- -- @treturn @value
+ -- @treturn any `value`
unwrap: (type, msg) =>
assert type == @type, msg or "#{@} is not a #{type}" if type
@value