Exercise #59: Type Predicates With Generics
Advanced Patterns ยท 03-type-predicates-assertion-functions
Goal

Goal: Make `isNode` a generic type predicate so filtering narrows to `T`.

Run "Check Solution" to validate your code in the browser.