using System; using System.Collections.Generic; using System.Linq; namespace Vision.Core.Extensions { public static class SetExtensions { public static ISet Filter(this ISet set, Func predicate) => set.Where(predicate).ToHashSet(); } }