isPartOfString

fun PsiElement.isPartOfString(): Boolean

Tests if this element is part of a kotlin string.