corda / net.corda.core.contracts / kotlin.collections.Iterable / filterStatesOfType

filterStatesOfType

fun <reified T : ContractState> Iterable<StateAndRef<ContractState>>.filterStatesOfType(): List<StateAndRef<T>>

Filters a list of StateAndRef objects according to the type of the states