Migrate compiler, idea and others to new case conversion api
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ fun String.toDouble(): Double = (+(this.asDynamic())).unsafeCast<Double>().also
|
||||
TODO()
|
||||
}
|
||||
|
||||
fun String.isNaN(): Boolean = when (this.toLowerCase()) {
|
||||
fun String.isNaN(): Boolean = when (this.lowercase()) {
|
||||
"nan", "+nan", "-nan" -> true
|
||||
else -> false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user