Serhiy Fedusov
03/25/2020, 7:48 AMinline fun <T> Iterable<T>.filter(
predicate: (T) -> Boolean
) : List<T>
If I chain multiple functions, say, using Set, it is simetimes uncomfortable to call toSet() each time the list is returned.louiscad
03/25/2020, 7:52 AMSerhiy Fedusov
03/25/2020, 7:53 AMlouiscad
03/25/2020, 7:53 AMSet<T> thoughlouiscad
03/25/2020, 7:55 AMRuckus
03/25/2020, 1:48 PMto alternative (e.g. mapTo(mutableSetOf()) { ... })Serhiy Fedusov
03/25/2020, 1:50 PM