Conclusion
Congratulations! You’ve learned a lot about function parameters in this lesson.
You’ve learned about passing parameters, and how to pass one, multiple and a variable number of them. You’ve seen how to use named and default parameters. Finally, you’ve learned how to return a value from a function and use shorter syntax for returning values.
You can now write a single function and reuse it with different parameters, making your Kotlin code more concise.