udalov
isName specifically which determines whether or not a string is a keyword in the language
1 reply
There’s a private API in kotlin-reflect for this, used to render declarations properly for toString, see kotlin.reflect.jvm.internal.impl.renderer.KeywordStringsGenerated