string Caller
Syntax-sugar for a lambda that returns the String of this
.
fun <T> T.map(transform: T.() -> String): String
// Before:
map(transform = { "$this" })
// After:
map(transform = ::stringCaller)
Content copied to clipboard
Return
String of the lambda's receiver.