In kotlin, you can create a function for a class without extending it. Make use of the extension function in kotlin to write better and more readable codes.
#WriteBetterCodes #LearnKotlin #KotlinShorts #WhyKotlin #Jetbrains #KotlinExtentionFunctions #KTX #StringClass #ExtendAClassEasily