2024-06-11 02:45:13 +09:00

9 lines
284 B
Kotlin

package app.revanced.util
internal object Utils {
internal fun String.trimIndentMultiline() =
this.split("\n")
.joinToString("\n") { it.trimIndent() } // Remove the leading whitespace from each line.
.trimIndent() // Remove the leading newline.
}