ExtKt

public final class ExtKt

Functions

Link copied to clipboard
public final static T coerceLuaToJava<T extends Any>(LuaValue value)

Convenient kotlin function to convert a value to a jvm value

Link copied to clipboard
public final static LuaTable toLua(Array<?> $self)
public final static LuaTable toLua(Map<Integer, ?> $self)

Converts a Map to a LuaTable

public final static LuaTable toLua(Array<?> $self, Boolean oneIndex)

Converts Array of anything to LuaTable