countByChannel

fun countByChannel(predicate: (T) -> Boolean): Int(source)
fun countByChannel(predicate: Predicate<T>): Int(source)

Return

the number of items in the channel that match the condition

Parameters

predicate

the condition to count by