xtd 0.2.0
Loading...
Searching...
No Matches

◆ contains()

template<typename type_t , typename allocator_t = xtd::collections::generic::helpers::allocator<typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type>>
constexpr bool xtd::basic_array< type_t, allocator_t >::contains ( const type_t &  value) const
inlineconstexproverridevirtualnoexcept

Determines whether an element is in the array.

Parameters
valueThe object to be added to the end of the array.

Implements xtd::collections::generic::icollection< type_t >.