I don't think that your basic type() wrapper function would be very helpful 
since it won't let you determine custom types of objects which are used in 
complex applications.

As for frameworks, I use ExtJS and it does have functions isArray(), 
isNull(), isEmpty() etc. In this type-specific form these functions are 
indeed useful. I think this is better than a generic type() function which 
would check some extra types but still won't give you a completely truthful 
answer about the real type of your object.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to