inline fun <V> SparseArray<V>.filter(predicate: (Int, V) -> Boolean): SparseArray<V>
Filters all entries matching given predicate into a new SparseArray.