Skip to content

Bucket.new()

paige edited this page Aug 17, 2023 · 1 revision
  • desc: makes a new bucket
  • returns: Bucket: Table
  • args: Insides: Table
local bucket = Bucket.new({

    -- unis
    "abc",
    123,
    { "a", "b", "c" },

    
    -- pairs
    { key1 = "value1" },
    { key2 = 2 },
    { key3 = {
        "a", "b", "c"
    }}
})

Clone this wiki locally