function t.values(q)assert(t.callback(q))return function(w)local D=t.table(w)if D==false then return false end for w,D in pairs(w)do local s=q(D)if s==false then return false end end return true end end

function t.values(check)
	assert(t.callback(check))
	return function(value)
		local tableSuccess = t.table(value)
		if tableSuccess == false then
			return false
		end

		for _, val in pairs(value) do
			local success = check(val)
			if success == false then
				return false
			end
		end

		return true
	end
end
