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

staticfillArray<T>(itr:() ‑> T):Array<T>

Fills an array with the result of a simple iterator.

staticisShellAvailable():Bool

Simple test for the presence of an available shell.

staticinlinepatternQuote(str:String):String

Perform Lua-style pattern quoting on a given string.

staticinlineprint(v:Dynamic):Void

Print the specified value on the default output.

staticinlineprintln(v:Dynamic):Void

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

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