Determines whether its argument represents a JavaScript number.

jQuery.isNumeric(value)🡢 Boolean

value AnythingThe value to be tested.

Note: This API has been deprecated in jQuery 3.3.

The $.isNumeric() method checks whether its argument represents a numeric value. If so, it returns true. Otherwise it returns false. The argument can be of any type.

As of jQuery 3.0 $.isNumeric() returns true only if the argument is of type number, or if it's of type string and it can be coerced into finite numbers. In all other cases, it returns false.

Sample return values of $.isNumeric with various inputs.

// true (numeric)

// false (non-numeric)

Looking for a Web Developer?


Hi! I'm Basti, author of this site. If you are looking for a web developer with 15+ years of experience, holla at me!

Be it the good 'ol jQuery, vanilla JS or modern frameworks like Vue and Svelte, front- or backend, I can help you.

Just write me at jobs@jqapi.com :)