using System.Collections.Generic;
using System.Linq;
namespace Vanara;
/// Helper methods for LINQ
public static class LinqHelpers
{
/// Filters values out of a sequence.
/// The nullable type.
/// The sequence.
/// The sequence without any values.
public static IEnumerable WhereNotNull(this IEnumerable o) where T : class
=> o.Where(x => x is not null)!;
}