Join Slack
Powered by
How to use the method option `Int` optional parame...
# getting-started
a
Aslam Hossin
08/28/2019, 2:46 AM
How to use the method option
Int
optional parameter?
f
fitken
08/28/2019, 3:20 AM
I think just add default value for that parameter
a
Aslam Hossin
08/28/2019, 7:58 AM
I did it but want it as mutable. Is there any option ?
m
Mehdi
09/05/2019, 12:28 PM
I think it is not being supported by Kotlin
https://discuss.kotlinlang.org/t/method-parameters-and-mutable-variables/333/6
37
Views
Open in Slack
Previous
Next