mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 22:24:35 +00:00
fixed filter_inplace doesn't return anything, thanks sheepolution
This commit is contained in:
parent
0ebe5b1e9f
commit
eae1849c16
@ -111,7 +111,7 @@ function functional.filter_inplace(t, f)
|
|||||||
t[i] = nil
|
t[i] = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return r
|
return t
|
||||||
end
|
end
|
||||||
|
|
||||||
-- complement of filter
|
-- complement of filter
|
||||||
|
Loading…
Reference in New Issue
Block a user