MCPcopy Index your code
hub / github.com/unconed/TermKit / isEmptyDataObject

Function isEmptyDataObject

HTML/jquery.js:1693–1701  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1691// property to be considered empty objects; this property always exists in
1692// order to make sure JSON.stringify does not expose internal metadata
1693function isEmptyDataObject( obj ) {
1694 for ( var name in obj ) {
1695 if ( name !== "toJSON" ) {
1696 return false;
1697 }
1698 }
1699
1700 return true;
1701}
1702
1703
1704

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected