Skip to content

Bucket:Filter()

paige edited this page Aug 17, 2023 · 3 revisions
  • 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)

Clone this wiki locally