Added lume.keys() and tests, updated docs

This commit is contained in:
rxi
2014-12-12 20:37:07 +00:00
parent ac920c8f5e
commit de37bd6d65
3 changed files with 20 additions and 0 deletions

View File

@@ -185,6 +185,9 @@ values the keys.
lume.invert({a = "x", b = "y"}) -- returns {x = "a", y = "b"}
```
### lume.keys(t)
Returns an array containing each key of the table.
### lume.clone(t)
Returns a shallow copy of the table `t`.