Pustaka Taratsa
KOTLIN: Extension

KOTLIN: Extension

Penulis: Onno Widodo Purbo

Sumber: https://www.tutorialspoint.com/kotlin/kotlin_extension.htm Kotlin extensions provide the ability to extend a class with new functionality without implementing the inheritance concept by a class or using design pattern such as Decorator. These extensions basically add some functionality in an existing class without extending the class. The Kotlin extension allows to write new functions for