Permalink
Browse files

Add isElement

  • Loading branch information...
1 parent de4863c commit e50f99b03096ffeb14ec4a68ebfd0addcc9d4172 @marcuswestin committed Jun 9, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 isElement.js
View
@@ -0,0 +1,3 @@
+module.exports = function isElement(node) {
+ return !!(node && node.nodeType === 1)
+}

0 comments on commit e50f99b

Please sign in to comment.