function t.numberMaxExclusive(z)return function(x)local S,g=t.number(x)if not S then return false,g or""end if x<z then return true else return false,string.format("\110\117\109\098\101\114 \060 \037\115 \101\120\112\101\099\116\101\100\044 \103\111\116 \037\115",z,x)end end end
--[[**
	ensures value is a number where value < max

	@param max The maximum to use

	@returns A function that will return true iff the condition is passed
**--]]
function t.numberMaxExclusive(max)
	return function(value)
		local success, errMsg = t.number(value)
		if not success then
			return false, errMsg or ""
		end

		if value < max then
			return true
		else
			return false, string.format("number < %s expected, got %s", max, value)
		end
	end
end
