ofType

inline fun <T : A> ofType(): List<T>(source)

Return a new list of agents whose type is exactly T or a subtype.