Kotlin Functions
Definition
A function is a unit of code that performs a special task. In programing, the function is used to break the code into smaller modules, which makes the program more manageable.
fun name(args): Data_Type {
body
}
// fun: Keyword for fun...
akshaytekam.hashnode.dev2 min read