function t.numberMax(q)return function(X)local M=t.number(X)if not M then return false end if X<=q then return true else return false end end end

function t.numberMax(max)
	return function(value)
		local success = t.number(value)
		if not success then
			return false
		end

		if value <= max then
			return true
		else
			return false
		end
	end
end
