Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Kotlin 的初学者,我正在阅读官方文档
我的问题是不确定如何解释文档,例如:
inline fun <T, R> T.let(block: (T) -> R): R
这个应该怎么读?
您在此处链接的是官方文档中的api 参考。我猜您在这里理解泛型的语法时遇到了麻烦。