1
const authCondition = (authUser) => !!authUser;

The author advice to use !!authUser instead of authUser. Is there any difference between authUser and !!authUser?

Henok Tesfaye
  • 6,590
  • 11
  • 33
  • 66

0 Answers0