W3cubDocs

/Haxe Lua

Lib

package lua

Available on lua

Platform-specific Lua Library. Provides some platform-specific functions for the Lua target, such as conversion from Haxe types to native types and vice-versa.

Static methods

static inline defArray<T> (tab:Table<Int, T>, length:Int):Array<T>

static fillArray<T> (itr:Void ‑> T ):Array<T>

static isShellAvailable ():Bool

static inline patternQuote (str:String):String

static inline print (v:Dynamic):Void

Print the specified value on the default output.

static inline println (v:Dynamic):Void

Print the specified value on the default output followed by a newline character.

static inline tableToArray<T> (t:Table<Int, T>, ?length:Int):Array<T>

static inline tableToObject<T> (t:Table<String, T>):Dynamic<T>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/Lib.html