fix: bugfixes in microg
This commit is contained in:
@ -18,5 +18,13 @@ internal fun String.startsWithAny(vararg prefix: String): Boolean {
|
||||
if (this.startsWith(_prefix))
|
||||
return true
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
internal fun String.containsAny(vararg others: String): Boolean {
|
||||
for (other in others)
|
||||
if (this.contains(other))
|
||||
return true
|
||||
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user