You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/jQuery.isNumeric.xml
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
</signature>
11
11
<longdesc>
12
12
<p>The <code>$.isNumeric()</code> method checks whether its argument represents a numeric value. If so, it returns <code>true</code>. Otherwise it returns <code>false</code>. The argument can be of any type.</p>
13
+
<p>As of jQuery 3.0 <code>$.isNumeric()</code> returns <code>true</code> only if the argument is of type <ahref="/Types/#Number"><code>number</code></a>, or if it's of type <code>string</code> and it can be coerced into finite numbers. In all other cases, it returns <code>false</code>.</p>
13
14
</longdesc>
14
15
<example>
15
16
<desc>Sample return values of $.isNumeric with various inputs.</desc>
0 commit comments