Truthy conversion: swtich from double negation to Boolean?

Author: keulCreated Oct 21, 2021Updated Oct 21, 2021

Looking at https://github.com/basarat/typescript-book/blob/120b111141abcffca11e63aa98639fb7d66073a6/docs/javascript/truthy.md?plain=1#L27 I see the book is using the !! for converting something to an explicit boolean value, which is always a bit hacky to read.

What about using the Boolean operator instead?