Skip to content

v1.0.4

Latest

Choose a tag to compare

@creepersaur creepersaur released this 08 Aug 17:03
· 15 commits to main since this release
74e32ad

A lot of changes. I don't remember most of them. 😅

retain(func) function:

local my_list: ql.Quicklist = ql {
    1, 2, 3, 4
}

my_list.retain(function(i: number, v: any)
    if v % 2 == 0 then
        return true
    end
end)

print(my_list) -- Will print `{2, 4}` since it retained any even number.

And more! ✅