Tagged “booleans”
-
TIL Double Exclamation shorthand for booleans javascript booleans
JavaScript (and TypeScript) lets you convert a non-Boolean value to Boolean using the double exclamation shorthand. '!!'
-
TIL a easier way to check for multiple OR statements logic booleans
Essentially, it's turning a multiple conditional into a array, then array to see if it matches.
See all tags.