Instantly share code, notes, and snippets.

Embed
What would you like to do?
fun main(args: Array<String>) {
val sajjad = "adult"
val sina = "child"
sajjad.thefunction(sina)
}
fun String.thefunction(sina: String) {
print(this)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment