docs
4.12
customSourceSet
docs
/
net.corda.finance.contracts.utils
/
sumFungibleOrZero
sum
Fungible
Or
Zero
fun
<
T
:
Any
>
Iterable
<
ContractState
>
.
sumFungibleOrZero
(
token
:
Issued
<
T
>
)
:
Amount
<
Issued
<
T
>
>
Sums the asset states in the list, returning zero of the given token if there are none.