Yong Cui·Follow1 min read·Jan 22, 2020--1ListenShareYou’re absolutely right. Using isEmpty is the best practice.I guess the point I wanted to make is that for certain situations (e.g., array’s count), isEmpty doesn’t outperform count, of which many people may have a misconception.