Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: JavaScript Object


Message #1 by "Mark Irvine" <mark@m...> on Tue, 9 Oct 2001 13:27:23
function testObj(obj){
	if(typeof obj == "object")
}


There's object, number, string, boolean


/Robert


-----Original Message-----
From: Mark Irvine [mailto:mark@m...] 
Sent: den 9 oktober 2001 15:27
To: javascript
Subject: [javascript] JavaScript Object


Hi,

I was wondering if there is an easy way to test if a parameter passed to a 
function is an object.  For instance is there an equivalent IsObject() 
function in JavaScript?

Mark

  Return to Index