com.jtransc.lang.string.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-utils Show documentation
Show all versions of jtransc-utils Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package com.jtransc.lang
fun Any?.toBetterString(): String {
if (this == null) return "null"
val clazz = this.javaClass
if (clazz.isArray) return "" + ReflectedArray(this).toList()
return "$this"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy