• If index is a number, returns all arguments after argument number index; a negative number indexes from the end (-1 is the last argument). Otherwise, index must be the string "#", and select returns the total number of extra arguments it received.

    Type Parameters

    • T

    Parameters

    • index: number
    • Rest ...args: T[]
      Rest

    Returns LuaMultiReturn<T[]>

  • If index is a number, returns all arguments after argument number index; a negative number indexes from the end (-1 is the last argument). Otherwise, index must be the string "#", and select returns the total number of extra arguments it received.

    Type Parameters

    • T

    Parameters

    • index: "#"
    • Rest ...args: T[]
      Rest

    Returns number

Generated using TypeDoc