How can I read Kotlin documentation

Egalicia

I am beginer with Kotlin, I am readig the official Documentation

My problem is that not sure how can I interpretate the documentation, by ex:

inline fun <T, R> T.let(block: (T) -> R): R

How should read this?

rajat

What you have linked here is an api reference in the official documentation.I guess you are having troubles understanding the syntax of Generics here.

  1. Try going through the Generics section first.
  2. If you still don't understand it maybe you should go through the Getting Started section once again and get comfortable with the basic syntax of functions, inline functions, lambdas, generics etc.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related