Files
2023-02-08 13:32:33 +00:00

8 lines
125 B
Kotlin
Vendored

fun foo() {
"OK".apply { this }
"OK".apply2 { this }
}
inline fun String.apply2(f: String.() -> String) = this.f()