The is_not_empty() method as more clearly alternative for !is_empty()

For consistency it should probably be has_items, since there's remove_item rather than remove_element. But the Vec documentation is pretty inconsistent about item/element anyway :frowning:

9 Likes