System::Collections::Generic::IEnumerable::LINQ_All method

IEnumerable::LINQ_All method

Bir dizinin tüm öğelerinin bir koşulu sağlayıp sağlamadığını belirler.

bool System::Collections::Generic::IEnumerable<T>::LINQ_All(std::function<bool(T)> predicate)
ParametreTürAçıklama
koşulstd::function<bool(T)>Her bir elemanı bir koşul için test eden bir fonksiyon.

ReturnValue

Belirtilen koşulda kaynak dizinin her öğesi testi geçerse veya dizi boşsa true; aksi takdirde false.

Ayrıca Bakınız