All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.lang.string.kt Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
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