CircularListTExists Method
Determines whether the
CircularListT contains elements that match the conditions defined by the specified predicate.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public bool Exists(
Predicate<T> match
)
Public Function Exists (
match As Predicate(Of T)
) As Boolean
public:
bool Exists(
Predicate<T>^ match
)
member Exists :
match : Predicate<'T> -> bool
- match PredicateT
- The delegate that defines the conditions of the elements to search for.
Boolean if the list contains one or more elements that match the conditions defined by the specified predicate; otherwise,
.
This method performs a linear search; therefore, this method is an O(n) operation.