Software /
code /
prosody
Diff
spec/util_cache_spec.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 |
parent | 11366:618ab9bba1c2 |
child | 12571:c4337ff4f1c4 |