Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / countA
Go to reference

countA

fun <T> Attribute<Iterable<T>>.countA(predicate: (T) -> Attribute<Boolean>): Attribute<Int>
fun <K, V> Attribute<Map<K, V>>.countA(predicate: (Entry<K, V>) -> Attribute<Boolean>): Attribute<Int>

Same as count, but accepts Attribute and returns a new Attribute.

See Also

kotlin.collections.count