Does Kotlin have anything similar to .NET's `.ofTy...
# announcements
e
Does Kotlin have anything similar to .NET's
.ofType<T>()
? For example in .NET:
Copy code
List<Object> someObjects = getSomeObjects();
List<Dog> dogs = someObjects.ofType<Dog>();
(I know it would be pretty straightfoward to write my own extension, just wondering if the stdlib has something I'm missing)