Skip to content

Commit

Permalink
Shorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Croney committed May 1, 2015
1 parent ab56ff4 commit 53e03b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var Module = (function () {
* @returns {boolean}
*/
function isElement(obj) {
return (obj && obj.nodeType === 1) === true;
return !!(obj && obj.nodeType === 1);
}


Expand Down

0 comments on commit 53e03b1

Please sign in to comment.