/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace AK { template constexpr bool any_of( const SimpleIterator& begin, const SimpleIterator& end, const auto& predicate) { return find_if(begin, end, predicate) != end; } } using AK::any_of;