Skip to content

Bucket:Get()

paige edited this page Aug 9, 2023 · 7 revisions
  • desc: returns the value of a key
  • returns: Value: Object
  • args: Key: String
local bucket = Bucket.new({
    "abc",
    { key = "value" }
})

bucket:Get("abc") -- "abc"

bucket:Get("key") -- "value"

Clone this wiki locally