something like:
 
if (typeof variable=='string') { }
 
or
 
if (typeof variable=='object') { }
 
 

Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Doug Melvin
Verzonden: woensdag 7 maart 2001 1:15
Aan: dynapi-help
Onderwerp: [Dynapi-Help] a simple enough question..

How do i test to see if a parameter to my function is a simple datatype (string,number) or is a complex object (dynlayer, widget) ?
 

---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01

Reply via email to