any
suspend fun <E> ReceiveChannel<E>.any(): Boolean (source)Platform and version requirements: JVM
Returns true if channel has at least one element.
The operation is terminal. This function consumes all elements of the original ReceiveChannel.
Platform and version requirements: JVM
Returns true if at least one element matches the given predicate.
The operation is terminal. This function consumes all elements of the original ReceiveChannel.