diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-09-12 10:50:20 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-09-12 10:50:20 +0100 |
commit | edb6956ad524febe58d5575d0bf42b4a7ddabc1c (patch) | |
tree | 444448cf660a0c4887605d6d3066648443b4cfbe /spec/util_error_spec.lua | |
parent | eba0bacfdaeaddd47c323f6681c79d57228d93a5 (diff) | |
download | prosody-edb6956ad524febe58d5575d0bf42b4a7ddabc1c.tar.gz prosody-edb6956ad524febe58d5575d0bf42b4a7ddabc1c.zip |
util.array: Add :slice() method + tests
Behaviour follows the same logic as string.sub (so yes, 1-indexed).
Diffstat (limited to 'spec/util_error_spec.lua')
0 files changed, 0 insertions, 0 deletions