JQuery | isPlainObject() Method Last Updated : 30 Apr, 2020 Comments Improve Suggest changes Like Article Like Report 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 plain object. Return Value: It returns the boolean value. Below examples illustrate the use of isPlainObject() method in jQuery: Example 1: In this example, the isPlainObject() method checks an object to see if it's a plain object. html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isPlainObject() 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 | isPlainObject() method</h3> <b>Whether '{}' is a Plain Object : </b> <p></p> <script> $("p").append("" + $.isPlainObject({})); </script> </body> </html> Output: Example 2: In this example, the isPlainObject() method also checks an object to see if it's a plain object. html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>JQuery | isPlainObject() 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 | isPlainObject() method</h3> <p id="geek1"> Whether 'document.location' is a Plain Object: </p> <p id="geek2">Whether String is a Plain Object: </p> <script> // Document.location $("#geek1").append("" + $.isPlainObject(document.location)); // string = "Shubham_Singh" $("#geek2").append("" + $.isPlainObject("Shubham_Singh")); </script> </body> </html> Output: Comment More infoAdvertise with us Next Article JQuery | isPlainObject() Method S SHUBHAMSINGH10 Follow Improve Article Tags : Web Technologies JQuery jQuery-Methods Similar Reads 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 _.isPlainObject() Method Lodash _.isPlainObject() method checks if the value is a plain object which means an object created by the Object constructor or one with a [[Prototype]] of null. Syntax:_.isPlainObject(value);Parameters: This method accepts a single parameter as mentioned above and described below: value: It is the 2 min read JQuery | isWindow() Method This isWindow() Method in jQuery is used to determine whether the argument is a window. Syntax: jQuery.isWindow( obj ) Parameters: This method accept a single parameter which is mentioned above and described below: obj: This parameter holds the object to test whether or not it is a window. Return Va 1 min read 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 is() Method The is() method is used to check if one of the selected elements matches the selectorElement Syntax: $(selector).is(selectorElement, function(index, element))Parameters: This method accepts parameters above mentioned and below described:- selector: It is an optional parameter. It specifies the selec 1 min read Like