Join Slack
Powered by
I cant seem to import `Char.isLetter()` in my comm...
# kotlin-native
s
Sourabh Rawat
05/16/2020, 2:26 PM
I cant seem to import
Char.isLetter()
in my common code for multiplatform project. Any help ?
r
russhwolf
05/16/2020, 3:51 PM
It exists only in JVM and Native according to
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/is-letter.html
. It’s not in common because it doesn’t exist for JS. If you don’t need JS you could set up your own expect/actual definitions to use it in common
👍 1
6
Views
Open in Slack
Previous
Next