Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
isNumeric: Updated description based on new behavior
Fixes gh-817
Closes gh-819
  • Loading branch information
AurelioDeRosa committed Nov 24, 2015
commit 4e65b6dfa6c6f2d486572c30dbf5c436b1524030
1 change: 1 addition & 0 deletions entries/jQuery.isNumeric.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</signature>
<longdesc>
<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>
<p>As of jQuery 3.0 <code>$.isNumeric()</code> returns <code>true</code> only if the argument is of type <a href="/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>
</longdesc>
<example>
<desc>Sample return values of $.isNumeric with various inputs.</desc>
Expand Down