2 ms·
I use type guards as well. It's not criticism: I just stated the fact that you can write incorrect type guards and the compiler will believe you. I elaborate o
by brainlessdev 6y ago
I use type guards as well. It's not criticism: I just stated the fact that you can write incorrect type guards and the compiler will believe you.
I elaborate on ways to use them effectively in the post.