System::Array::Exists 메서드

Array::Exists method

지정된 Array 객체가 지정된 프레디케이트의 요구 사항을 만족하는 요소를 포함하고 있는지 판단합니다.

static bool System::Array<T>::Exists(ArrayPtr<T> arr, std::function<bool(T)> match)
매개변수형식설명
arrArrayPtr<T>요소를 찾을 배열
일치std::function<bool(T)>요구 사항을 정의하고 요소가 이를 만족하는지 확인하는 함수 객체

ReturnValue

arr이(가) match에 의해 정의된 요구 사항을 만족하는 요소를 포함하면 true

또 보기