local O=script.Parent local n=O.Parent local t=require(n.t)local U=t.tuple(t.table,t.callback)local function P(O,n)assert(U(O,n))local t={}for O,U in pairs(O)do if n(O)then t[O]=true end end return t end return P
local Set = script.Parent

local Llama = Set.Parent
local t = require(Llama.t)

local validate = t.tuple(t.table, t.callback)

local function filter(set, filterer)
	assert(validate(set, filterer))

	local new = {}

	for key, _ in pairs(set) do
		if filterer(key) then
			new[key] = true
		end
	end
	
	return new
end

return filter