getLastParentOfTypeInRow¶ inline fun <reified T : PsiElement> PsiElement.getLastParentOfTypeInRow(): T? Returns the outermost element in an uninterrupted chain of ancestors of type T, or null if the parent is not a T. jvm