Skip to content

Bucket:EntryAt()

paige edited this page Aug 9, 2023 · 3 revisions
  • desc: returns the entry at an index
  • returns: Entry: Table
  • args: Index: Number
  • note: equivalent to doing this:
Bucket[Index]
local bucket = Bucket.new({
    "abc",
    { key = "value" }
})

bucket:EntryAt(1) -- { 1, "abc", "uni" }

bucket:EntryAt(2) -- { "key", "value", "pair" }

Clone this wiki locally