title: How to check if value is string in lua?
body: <p>Hello guys i please need your help.
  I have values, most of them are numbers but some of them are strings.
  How can i check if value is string or number?</p>
  <p>I already tried this code but when it reach string value i get error &quot; attempt to perform arithmetic on local 'numberValue' (a nil value)&quot;</p>
  <pre><code>function Config:IsNumber(value)
      if value ~=nill or value ~=nil then                 
          local numberValue = tonumber(value)
          if numberValue/numberValue ==1 then
              return true
          else
              return false
          end
      end
  end
  end
  end
  </code></pre>