ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / common / kotlin.collections.Iterable / allAndNotEmpty

allAndNotEmpty

inline fun <T> Iterable<T>.allAndNotEmpty(predicate: (T) -> Boolean): Boolean

Equivalent to kotlins all(), but return false if the iterable is empty where all() would return true.