debugIfNotEmpty

inline fun <T> Collection<T>.debugIfNotEmpty(block: (Collection<T>) -> Unit): List<T>