Exists()

List::Exists(System::Predicate<T>) method

Checks if element adhering to specific predicate exists in list.

bool System::Collections::Generic::List<T>::Exists(System::Predicate<T> match)

Arguments

ParameterTypeDescription
matchSystem::Predicate<T>Predicate to check elements with.

Return Value

True if matching element is found, false otherwise.

See Also