System::Collections::Generic::IEnumerable::LINQ_Any method

IEnumerable::LINQ_Any() method

시퀀스에 요소가 하나라도 포함되어 있는지 확인합니다.

bool System::Collections::Generic::IEnumerable<T>::LINQ_Any()

ReturnValue

소스 시퀀스가 요소를 하나라도 포함하면 true, 그렇지 않으면 false.

또 보기

IEnumerable::LINQ_Any(std::function<bool(T)>) method

시퀀스에 요소가 존재하거나 조건을 만족하는지 확인합니다.

bool System::Collections::Generic::IEnumerable<T>::LINQ_Any(std::function<bool(T)> predicate)
매개변수형식설명
프레디케이트std::function<bool(T)>조건을 테스트하기 위한 각 요소에 대한 함수.

ReturnValue

소스 시퀀스가 요소를 하나라도 포함하면 true, 그렇지 않으면 false.

또 보기