January 2018
Intermediate to advanced
434 pages
14h 1m
English
There are a lot of scenarios in which we need to pass variable arguments to a function. In Kotlin, we can do that using the vararg modifier. In this recipe, we will go through all the ways of doing that. We will look at a few examples to demonstrate how to use this feature of Kotlin.
Read now
Unlock full access