1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
5
using System.Collections.Generic;
9
namespace ICSharpCode.NRefactory.VB.Parser
11
public static class Extensions
13
public static bool IsElement<T>(this IEnumerable<T> items, Func<T, bool> check)
15
T item = items.FirstOrDefault();