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! ✅