local Z=script.Parent local x=Z.Parent local s=require(x.Parent.t)local function F(Z)local x={}for Z,F in pairs(Z)do x[#x+1]=s.literal(F)end return s.union(unpack(x))end return F


local UtilityRoot = script.Parent
local UIBloxRoot = UtilityRoot.Parent

local t = require(UIBloxRoot.Parent.t)

local function enumValidator(enum)
	local validators = {}

	for _, enumItem in pairs(enum) do
		validators[#validators + 1] = t.literal(enumItem)
	end

	return t.union(unpack(validators))
end

return enumValidator
