lib/vmdb/global_methods.rb
# Check to see if a field contains a valid integer
Check to see if a field contains a valid integer
Check to see if a field contains a valid integer
def is_integer?(n)
      Integer n
    rescue
      false
    else
      true
    end
def is_integer? ( n ) Integer n rescue false else true end
Check to see if a field contains a valid integer
Check to see if a field contains a valid integer
n
<not_specific>