Mercurial > prosody-hg
diff plugins/mod_iq.lua @ 11787:3ae6fa901a8b
util.array: Add :slice() method + tests
Behaviour follows the same logic as string.sub (so yes, 1-indexed).
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 12 Sep 2021 10:50:20 +0100 |
| parents | 41c959c5c84b |
| children | 74b9e05af71e |
