function t.numberMin(N)return function(U)local F,J=t.number(U)if not F then return false,J or""end if U>=N then return true else return false,string.format("\110\117\109\098\101\114 \062\061 \037\115 \101\120\112\101\099\116\101\100\044 \103\111\116 \037\115",N,U)end end end
--[[**
	ensures value is a number where min <= value

	@param min The minimum to use

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

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