what does it mean when you are asked, What is a re...
# kotlin-native
b
what does it mean when you are asked, What is a return type in Kotlin?
a
a return type is basically a type that gets returned by the function. e.g.
Copy code
fun say(): String {
  return "Hello World";
}
would return an object of type
String
when invoked. The object would contain the text " Hello World", but it is of type string
also, questions like these are better asked in #getting-started