noneOrSingle |
fun <T> Iterable<T>.noneOrSingle(predicate: (T) -> Boolean): T? Returns the single element matching the given predicate, or fun <T> Iterable<T>.noneOrSingle(): T? Returns single element, or |
sum |
fun Iterable<BigDecimal>.sum(): BigDecimal Allows summing big decimals that are in iterable collections |