function t.integer(v)local f=t.number(v)if not f then return false end if v%1==0 then return true else return false end end

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

	if value % 1 == 0 then
		return true
	else
		return false
	end
end
