• Inserts element value at position pos in list, shifting up the elements list[pos], list[pos+1], ยทยทยท, list[#list]. The default value for pos is #list+1, so that a call table.insert(t,x) inserts x at the end of list t.

    Type Parameters

    • T

    Parameters

    • list: T[]
    • value: T

    Returns void

  • Type Parameters

    • T

    Parameters

    • list: T[]
    • pos: number
    • value: T

    Returns void

Generated using TypeDoc