Is it an object : isObject « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/"
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>

    <script>

      var s1 = "string";
      var s2 = new String("string object");
      var o = new Object();
      var a = new Array();
      alert(dojo.isObject(s1) + " " + dojo.isObject(s2) + " " + dojo.isObject(o) + " " +
        dojo.isObject(a));

    </script>

  </head>

  <body></body>

</html>








29.19.isObject
29.19.1.Is it an object