I am going thru firebase tutorial / codelabs
I came across a construct like following;
// Returns true if a user is signed-in. function isUserSignedIn() { return !!firebase.auth().currentUser; }
in that code what does !! mean ? does 2 ! cancels each other. If it does cancel why'd have author done !! ?