function t.optional(e)assert(t.callback(e))return function(J)if J==nil then return true end local B,g=e(J)if B then return true else return false,string.format("\040\111\112\116\105\111\110\097\108\041 \037\115",g or"")end end end

function t.optional(check)
	assert(t.callback(check))
	return function(value)
		if value == nil then
			return true
		end
		local success, errMsg = check(value)
		if success then
			return true
		else
			return false, string.format("(optional) %s", errMsg or "")
		end
	end
end
