JQuery | isNumeric() method Last Updated : 27 Apr, 2020 Comments Improve Suggest changes Like Article Like Report This isNumeric() Method in jQuery is used to determines whether its argument represents a JavaScript number. Syntax: jQuery.isNumeric( value ) Parameters: The isNumeric() method accepts only one parameter that is mentioned above and described below: value: This parameter is the value to be tested. Return Value: It returns the boolean value. Below examples illustrate the use of isNumeric() method in jQuery: Example 1: In this example, the isNumeric() method checks an value to see if it's a numeric. html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isNumeric () method</title> <script src="https://code.jquery.com/jquery-3.4.1.js"></script> </head> <body style="text-align:center;"> <h1 style="color: green"> GeeksForGeeks </h1> <h3>JQuery | isNumeric () method</h3> <b>Check the following value are Numeric or not </b> <br> <p></p> <script> //document.location $( "p" ).append("123 : " +$.isNumeric( 123 ) +"<br>" + "0 : " + $.isNumeric( "0" ) +"<br>" + "0x6F : " +$.isNumeric( "0x6F" ) +"<br>" + "3e7 : " +$.isNumeric( "3e7" ) +"<br>" + "3.14 : " +$.isNumeric( "3.14" ) +"<br>" + "-1 : " + $.isNumeric( -1 )); </script> </body> </html> Output: Example 2: In this example, the isNumeric() method also checks an value to see if it's a numeric. html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isNumeric () method</title> <script src= "https://code.jquery.com/jquery-3.4.1.js"></script> </head> <body style="text-align:center;"> <h1 style="color: green"> GeeksForGeeks </h1> <h3>JQuery | isNumeric () method</h3> <b>Check the following value are Numeric or not </b> <br> <p></p> <script> //document.location $( "p" ).append("undefined : " +$.isNumeric( undefined ) +"<br>" + "Infinity : " + $.isNumeric( "Infinity " ) +"<br>" + "true : " +$.isNumeric( "true " ) +"<br>" + "null : " +$.isNumeric( "null " ) +"<br>" + "NaN : " +$.isNumeric( "NaN " ) +"<br>" + "-0x42 : " + $.isNumeric( "-0x42" )); </script> </body> </html> Output: Comment More infoAdvertise with us Next Article JQuery | isNumeric() method S SHUBHAMSINGH10 Follow Improve Article Tags : Web Technologies JQuery jQuery-Methods Similar Reads JQuery | isFunction() method This isFunction() Method in jQuery is used to determines if its argument is callable as a function. Syntax: jQuery.isFunction( value ) Parameters: The isFunction() method accepts only one parameter that is mentioned above and described below: value : This parameter is the value to be tested. Return 2 min read JQuery | isArray() method This isArray() Method in jQuery is used to determines whether the argument is an array. Syntax: jQuery.isArray( object ) Parameters: The isArray() method accepts only one parameter that is mentioned above and described below: object : This parameter is the object to test whether or not it is an arra 2 min read JQuery | isPlainObject() Method This isPlainObject() Method in jQuery is used to check to see if an object is a plain object. Syntax: jQuery.isPlainObject( obj ) Parameters: This method accept a single parameter that is mentioned above and described below: obj: This parameter holds the object that will be checked to see if it's a 2 min read JQuery | isEmptyObject() method This isEmptyObject() Method in jQuery is used to determines if an object is empty. Syntax: jQuery.isEmptyObject( object ) Parameters: The isEmptyObject() method accepts only one parameter that is mentioned above and described below: object : This parameter is the object that will be checked to see i 2 min read Lodash _.isNumeric() Method The Lodash _.isNumeric() method checks whether the given value is a Numeric value or not and returns the corresponding boolean value. It can be a string containing a numeric value, exponential notation or a Number object, etc. Syntax: _.isNumeric( value ); Parameters: This method takes single parame 2 min read Like