Hi, I defined a helper function as findLastOf(list...
# announcements
h
Hi, I defined a helper function as findLastOf(list: List<T>, predicate: Predicate<T>) = list.findLast { predicate.apply(it) } and call it from Java. I passed in java.util.List in and it worked while the List in the kotlin helper function is actually from collections.kt. What magic goes here? Does the compiler magically turn List in collections.kt to java.util.List?