Skip to content

table.insertafter

Jason Perkins edited this page May 26, 2015 · 3 revisions

Insert a new value into a table at the index after the specified existing value. If the specified value does not exist in the table, the new value is appended to the end of the table.

table.insertafter(arr, after, value)

Parameters

arr is a table containing indexed elements. after is the value to insert after. value is the value to insert.

Return Value

None.

Availability

Premake 5.0 or later.

Clone this wiki locally