Post

This, except I tend to use use hasOwnProperty rather than in. Feels like I usually care about immediate properties in type guards, not inherited ones.

0 reposts0 likes