mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-09 22:58:04 +02:00
9 lines
284 B
Kotlin
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.
|
|
}
|