getSpans

inline fun <T : Any> Spanned.getSpans(start: Int = 0, end: Int = length): Array<out T>(source)

Get all spans that are instance of T.