orangy
fun x() = itemsMatching(1,2,3) { it > 1 } fun <T> itemsMatching(vararg elements: T, predicate: (T)->Boolean): List<T> { .. }