Stravaig-Projects / Stravaig.Extensions.Core

A set of small extensions to make life a little easier.
MIT License
0 stars 0 forks source link

Extention on IEnumerable<T?> EliminateNulls() #36

Open colinangusmackay opened 1 year ago

colinangusmackay commented 1 year ago

Basically an extension method that takes in an IEnumerable<T?> and returns and IEnumerable<T> after filtering out any entry that is null so each element in the resulting sequence is guaranteed to be not null.