you can in Kotlin as well with a little trick: ```...
# announcements
r
you can in Kotlin as well with a little trick:
Copy code
fun Nothing?.toString() = "my personal toString"
fun main(args: Array<String>) {
    println(null.toString())
}
c
I'll tell you a dirty little secret:
Copy code
fun main(args: Array<String>) {
   println(null.toString())
}
>> null
oh, you're overriding it, I see what you did there, disregard my previous comment 😄
r
still good to know, was not aware of that kotlin has implemented toString for
Any?