com.r3corda.contracts.cash / kotlin.collections.Iterable / sumCashOrNull

sumCashOrNull

fun Iterable<ContractState>.sumCashOrNull(): <ERROR CLASS>

Sums the cash states in the list, returning null if there are none.