isValKeyword

fun PsiElement.isValKeyword(): Boolean

Return

true if this is LeafPsiElement and its text is val, false otherwise