wikis Search Results · bucket language:JavaScript language:JavaScript language:Java language:Java language:JavaScript
Filter by
45.7k results
The language qualifier is not supported when searching wikis. Try searching for repositories instead?
desc: deletes the last entry returns: None args: Offset: Number note: you can offset it down bucket:Pop() -- deletes the last entry bucket:Pop(1) -- deletes the second to last entry
desc: returns a normal table with all of the entries with bucket formatting returns: Entries: Table args: None
desc: adds a new entry at the start returns: None args: Entry: Object bucket:Pull("value") -- uni bucket:Pull({ key = "value" }) -- pair
desc: adds a new entry at the end returns: None args: Entry: Object bucket:Push("value") -- uni bucket:Push({ key = "value" }) -- pair
desc: renames a key returns: None args: Key: String, New Key: String bucket:Rename("key a", "key b")
desc: renames a key at an index returns: None args: Index: Number, New Key: String bucket:Rename(1, "key b")
desc: replaces mentions of a given string returns: Bucket: Table args: From: String, To: String note: clones the original bucket local bucket = Bucket.new({ "abc 123", { ["abc 123"] == "abc 123"} }) bucket:Replace("123", "def") -- (( "abc def", [ *abc def => "abc def" ] ))
desc: replaces mentions of a given string in keys returns: Bucket: Table args: From: String, To: String note: clones the original bucket local bucket = Bucket.new({ "abc 123", { ["abc 123"] == "abc
desc: replaces mentions of a given string in values returns: Bucket: Table args: From: String, To: String note: clones the original bucket local bucket = Bucket.new({ "abc 123", { ["abc 123"] == "abc
desc: reverses (duh) returns: Bucket: Table args: None note: clones the original bucket local bucket = Bucket.new({ 1, 2, 3, "a", "b", "c" }) bucket:Reverse() -- (( "c", "b", "a", 3, 2, 1 ))