# isempty-vs-count Finds places where you're using `Container::count()` or `Container::size()` instead of `Container::isEmpty()`. Although there's no performance benefit, `isEmpty()` provides better semantics. #### Example ``` QList<int> foo; ... if (foo.count()) {} ```
Generated by dwww version 1.15 on Mon Jun 24 13:50:08 CEST 2024.