(in ./Carbon/Collections/Tuple.lua)

A disposable List object for quick vararg transformations.

Inherits OOP.Object


class public Tuple:New(...)

Returns Tuple

object public Tuple:Init(...)

Returns void

  • optional ...: The values to initialize the Tuple with.

Creates a new Tuple.

object public Tuple:Destroy(...)

Returns ...

  • optional ...: Data to pipe through this method.

Destroys the tuple, passing any arguments that it was given as return values. This will put the tuple back into the main buffer, usually.

object public Tuple:Unpack()

Returns ...

Unpacks and destroys the Tuple, returning all its values.