typeof关键字是什么
What is the typeof keyword
我无法在 Kotlin 文档中找到它的含义,也无法通过谷歌搜索找到它。它确实存在,尽管 IntelliJ 将其突出显示为关键字 an Kotlin's autogenerated keyword list file contains it too。我试图自己弄清楚它的作用,但我得到的唯一结果是 IntelliJ 告诉我 Unexpected tokens (use ';' to separate expressions on the same line)
它是什么以及它有什么作用?
查看 Kotlin 中的关键字列表
// Reserved for future use: KtKeywordToken TYPEOF_KEYWORD =
KtKeywordToken.keyword("typeof");
所以这个目前没有使用,但将来可能会使用
我无法在 Kotlin 文档中找到它的含义,也无法通过谷歌搜索找到它。它确实存在,尽管 IntelliJ 将其突出显示为关键字 an Kotlin's autogenerated keyword list file contains it too。我试图自己弄清楚它的作用,但我得到的唯一结果是 IntelliJ 告诉我 Unexpected tokens (use ';' to separate expressions on the same line)
它是什么以及它有什么作用?
// Reserved for future use: KtKeywordToken TYPEOF_KEYWORD = KtKeywordToken.keyword("typeof");
所以这个目前没有使用,但将来可能会使用