DEV Community

Discussion on: Best Practices for React Developers in 2021

Collapse
tautvydaspetrauskas profile image
Tautvydas

Also you could use !!numUsers && so it will be falsy for 0.