Web-based responsive document annotation tool
activeannoservice / common / kotlin.collections.Iterable / maxByOrNullIfNull
inline fun <T, R : Comparable<R>> Iterable<T>.maxByOrNullIfNull(selector: (T) -> R?): T?
Equivalent to kotlins maxBy, but allow for the selector to return null, in which case null will be returned.