core-ktx / androidx.text / android.text.Spanned / getSpans

getSpans

inline fun <reified T : Any> Spanned.getSpans(): Array<out T>

Get all spans that are instance of T.