Created
May 7, 2014 10:54
-
-
Save RodolfoSilva/1608d937afd0fb142ad1 to your computer and use it in GitHub Desktop.
Utilitários Node.JS e Navegador
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var Utilitarios = (function() { | |
var Utilitarios = function(options) { | |
}; | |
Utilitarios.prototype.isNull = function(obj) { | |
return obj === null; | |
}; | |
Utilitarios.prototype.isUndefined = function(obj) { | |
return obj === void 0; | |
}; | |
return Utilitarios; | |
})(); | |
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { | |
module.exports = Utilitarios; | |
} else { | |
window.Utilitarios = Utilitarios; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment