local A=script.Parent local Z=A.Parent local T=require(Z.t)local j=T.tuple(T.table,T.callback)local function o(A,Z)assert(j(A,Z))local T={}for A,j in pairs(A)do if Z(A)then T[A]=true end end return T end return o
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