wikis Search Results · bucket language:JavaScript language:JavaScript language:JavaScript linked:pr language:JavaScript
Filter by
45.6k results
Some qualifiers in your query (language, linked) are not supported when searching wikis. Try searching for issues instead?
desc: deletes the entry of a key returns: None args: Key: String bucket:Del("key")
desc: deletes the entry at an index returns: None args: Index: Number bucket:DelAt(1)
desc: deletes the entry of a value returns: None args: Value: Object bucket:DelVal("value")
desc: returns a normal table with all of the entries without bucket formatting returns: Entries: Table args: None
desc: checks if it ends with a given key returns: Boolean args: Key: String note: takes multiple arguments local bucket = Bucket.new({ "abc", "def" }) bucket:EndsWith("abc") -- false bucket:EndsWith("def") -- true bucket:EndsWith("abc", "def") -- true because one of them is true
desc: checks if it ends with a given value returns: Boolean args: Value: Object note: takes multiple arguments local bucket = Bucket.new({ { key1 = "value1" }, { key2 = "value2" } }) bucket
desc: returns all of the entries in a Bucket returns: Entries: Bucket args: None
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" }
desc: loops through the insides and checks if EVERY entry passes a given action returns: Boolean args: Function local bucket = Bucket.new({ "a", "b", "c" }) bucket:Every(function(Key, Value, Index
desc: filters out entries that don't pass a given function returns: Bucket: Table args: Function note: clones the original bucket bucket:Filter(function(Key, Value, Index, Type) return type(Value) == "string" end)