Skip to content

prevSiblingOfSameType

inline fun <reified T : PsiElement> T.prevSiblingOfSameType(): @Nullable T?

Returns the previous sibling of the same type T, or null if there is none.