gradle
8.5

# filter

open fun <T> filter(set: Set<out T>, filter: Spec<out Any>): Set<T>(source)
open fun <T> filter(list: List<out T>, filter: Spec<out Any>): List<T>(source)
open fun <T> filter(array: Array<T>, filter: Spec<out Any>): List<T>(source)
open fun <T, C : Collection<T>?> filter(source: Iterable<out T>, destination: C, filter: Spec<out Any>): C(source)
open fun <K, V> filter(map: Map<K, V>, filter: Spec<Map.Entry<K, V>>): Map<K, V>(source)
open fun <K, V> filter(map: Map<K, V>, destination: Map<K, V>, filter: Spec<Map.Entry<K, V>>): Map<K, V>(source)