outputsOfType

Helper to simplify getting all output states of a particular class, interface, or base class.

Return

the possibly empty list of output states matching the clazz restriction.

Parameters

clazz

The class type used for filtering via an Class.isInstance check. Clazz must be an extension of ContractState.


inline fun <T : ContractState> outputsOfType(): List<T>