com.r3corda.core.contracts / kotlin.collections.List / filterStatesOfType

filterStatesOfType

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

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