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

◆ empty()

template<typename type_t >
virtual bool xtd::collections::generic::list< type_t >::empty ( ) const
inlinevirtualnoexcept

Checks if the container has no elements, i.e. whether xtd::collections::generic::list::begin() == xtd::collections::generic::list::end().

Returns
true if the container is empty, false otherwise.