Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas

PatilShreyas/InlineFun.kt Secret

Created Dec 24, 2020
Embed
What would you like to do?
inline fun <T> processList(list: List<T>) {
// do tasks
println(list)
}
fun main() {
processList(listOf("a", "b"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment