com.r3corda.core.contracts / kotlin.collections.Iterable

### Extensions for kotlin.collections.Iterable

filterStatesOfType | `fun <T : ContractState> Iterable<StateAndRef<ContractState>>.filterStatesOfType(): List<StateAndRef<T>>` Filters a list of StateAndRef objects according to the type of the states
sumOrNull | `fun <T> Iterable<Amount<T>>.sumOrNull(): Nothing?`
sumOrThrow | `fun <T> Iterable<Amount<T>>.sumOrThrow(): <ERROR CLASS>`
sumOrZero | `fun <T> Iterable<Amount<T>>.sumOrZero(currency: T): Amount<T>`