namespace PkmnLib.Static.Utils; /// /// Extension methods for . /// public static class EnumerableHelpers { /// /// Returns all elements of the enumerable that are not null. /// public static IEnumerable WhereNotNull(this IEnumerable enumerable) where T : class => enumerable.Where(x => x is not null)!; }