Skip to content

Bucket:KeyAt()

paige edited this page Aug 9, 2023 · 4 revisions
  • desc: returns the key at an index
  • returns: Key: String
  • args: Index: Number
local bucket = Bucket.new({
    "abc",
    { key = "value" }
})

bucket:KeyAt(1) -- 1

bucket:KeyAt(2) -- "key"

Clone this wiki locally