parent
7280335337
commit
49c0ee63b6
@ -1,3 +1,6 @@ |
||||
package io.legado.app.utils |
||||
|
||||
fun String?.strim() = if (this.isNullOrBlank()) null else this.trim() |
||||
fun String?.strim() = if (this.isNullOrBlank()) null else this.trim() |
||||
|
||||
fun String.isAbsUrl() = this.startsWith("http://", true) |
||||
|| this.startsWith("https://", true) |
||||
|
Loading…
Reference in new issue