❔ ✅ Best way to just get not null values from a collection of possibly null values
I've got a
Which of these is preferable (and more idiomatic) for this, or is there a 3rd better way:
Thanks
List<MyType?>, and I want to filter out all null values and get a List<MyType back.Which of these is preferable (and more idiomatic) for this, or is there a 3rd better way:
Thanks