We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0103c1 commit c6fcecbCopy full SHA for c6fcecb
1 file changed
docs/src/modules/keyword.md
@@ -2,7 +2,7 @@
2
description: Lua keyword helpers for reserved-word checks.
3
---
4
5
-# `keyword`
+# `keyword` <Badge type="warning" text="Unreleased" />
6
7
Lua keyword helpers.
8
@@ -62,9 +62,9 @@ print(keywords[#keywords]) --> "while"
62
Return Lua keywords as a [`mods.Set`] of strings.
63
64
```lua
65
-local words = kw.kwset()
66
-print(words["and"]) --> true
67
-print(words["hello"]) --> nil
+local keywords = kw.kwset()
+print(keywords["and"]) --> true
+print(keywords["hello"]) --> nil
68
```
69
70
### `isidentifier(s)` {#fn-isidentifiers}
0 commit comments