<doc>
  <legacy_id>1165</legacy_id>
  <name>isNumber</name>
  <type>function</type>
  <syntax>
    <example>the isNumber of <i>value</i></example>
    <example>isNumber(<i>value</i>)</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Math, Logic, &amp; Dates</category>
  </classification>
  <references>
    <function tag="exists">exists Function</function>
    <operator tag="is a">is a Operator</operator>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> true if a <function tag="value">value</function> is a number, false if it is not.</summary>
  <examples>
    <example>isNumber(8) <code><i>-- returns true</i></code></example>
    <example>isNumber(1+5) <code><i>-- returns true</i></code></example>
    <example>isNumber(foo) <code><i>-- returns false</i></code></example>
  </examples>
  <description>
    <p>Use the <b>isNumber</b> <control_st tag="function">function</control_st> to determine whether a <function tag="value">value</function> is a number. For example, attempting to do an arithmetic <glossary tag="operation">operation</glossary> on a <function tag="value">value</function> that's not a number causes an <glossary tag="error">error</glossary>. You can check the <function tag="value">value</function> beforehand to prevent this.</p><p/><p><b>Parameters:</b></p><p>The <b>value</b> is any source of value.</p><p/><p><b>Value:</b></p><p>The <b>isNumber</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> true or false.</p><p/><p><b>Comments:</b></p><p>This function exists for compatibility with imported SuperCard projects. You can use the <b>is a</b> <glossary tag="operator">operator</glossary> to <glossary tag="validate">validate</glossary> numbers, as well as other data types.</p>
  </description>
</doc>