filter

abstract fun filter(items: List<T>, query: String): List<T>

Filters the given items based on the query.