This should be a simple question, but I'm having difficult finding an answer. How do I filter some elements of an array into a new array? The filter! function returns a range, but I can't seems to assign it to a new array. I get:

Cannot implicitly convert expression of type FilterResult!(__lambda10 ...

Nothing I try to construct a new array seems to work.

Reply via email to