Is there a way to add sth to default value instead...
# announcements
d
Is there a way to add sth to default value instead of override it?
Copy code
fun sayHello(name: String = "Man") = print("Hello $name")
sayHello("Super") // to have result like "Hello SuperMan"