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

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

Henok Tesfaye
  • 8,287
  • 13
  • 47
  • 84

0 Answers0