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

sumFungibleOrZero

fun <T> Iterable<ContractState>.sumFungibleOrZero(token: T): <ERROR CLASS>

Sums the asset states in the list, returning zero of the given token if there are none.