Method Exists
Exists(Func<T, Boolean>)
Check if there exists an item that satisfies a specific predicate in this collection.
Declaration
public virtual bool Exists(Func<T, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
Func<T, System.Boolean> | predicate | A delegate (Func<, > with )
defining the predicate
|
Returns
Type | Description |
---|---|
System.Boolean | True if such an item exists |