Skip to content

Instantly share code, notes, and snippets.

@RodolfoSilva
Created May 7, 2014 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RodolfoSilva/1608d937afd0fb142ad1 to your computer and use it in GitHub Desktop.
Save RodolfoSilva/1608d937afd0fb142ad1 to your computer and use it in GitHub Desktop.
Utilitários Node.JS e Navegador
(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