W3cubDocs

/Haxe

Table<A, B>

package lua

Available on lua

This library provides generic functions for table manipulation.

Static methods

static concat<A, B> (table:Table<A, B>, ?sep:String):String

static concat<A, B> (table:Table<A, B>):Void

static inline create<A, B> (?arr:Array<B>, ?hsh:Dynamic<B>):Table<A, B>

static foreach<A, B> (table:Table<A, B>, f:A ‑> B ‑> Void):Void

static foreachi<A, B> (table:Table<A, B>, f:A ‑> B ‑> Int ‑> Void):Void

static insert<B> (table:Table<Int, B>, pos:Int, value:B ):Void

static insert<B> (table:Table<Int, B>, value:B ):Void

static remove<B> (table:Table<Int, B>, ?pos:Int):Void

static remove<B> (table:Table<Int, B>):Void

static sort<A, B> (table:Table<A, B>, ?order:A ‑> A ‑> Bool):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/lua/Table.html