type.of() - a more specific typeof()


/ Published in: JavaScript
Save to your folder(s)

Helps identify correctly the type of whatever you put as an argument. This was adapted from http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja

URL: http://rolandog.com/archives/2007/01/18/typeof-a-more-specific-typeof/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.