# Programming in Dart: Functions & Closures, Episode 17: Challenge: Write a Generic Function | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/programming-in-dart-functions-closures-episode-17-challenge-write-a-generic-function-raywenderlich-com/174751>\
**Category:** 🎓 Courses & Articles\
**Created:** [July 11, 2022, 7:46pm UTC](https://forums.kodeco.com/t/programming-in-dart-functions-closures-episode-17-challenge-write-a-generic-function-raywenderlich-com/174751 "2022-07-11T19:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdmoakley](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bdmoakley/32/108772_2.png) [@bdmoakley](https://forums.kodeco.com/u/bdmoakley)\
**Post date:** [July 11, 2022, 7:46pm UTC](https://forums.kodeco.com/t/programming-in-dart-functions-closures-episode-17-challenge-write-a-generic-function-raywenderlich-com/174751/1 "2022-07-11T19:46:53Z")

</div>

Now that you understand generics, you’ll put your new knowledge to the test by writing a method that filters a collection of numbers.

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/30303825-programming-in-dart-functions-closures/lessons/17](https://www.raywenderlich.com/30303825-programming-in-dart-functions-closures/lessons/17)
