Skip to content

Instantly share code, notes, and snippets.

@onestepcreative
Last active December 29, 2015 20:19
Show Gist options
  • Select an option

  • Save onestepcreative/7723013 to your computer and use it in GitHub Desktop.

Select an option

Save onestepcreative/7723013 to your computer and use it in GitHub Desktop.
check to see if an object is empty
var objEmpty = function(obj) {
return (JSON.stringify(obj) == '{}');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment