MCPcopy Index your code
hub / github.com/dataarts/dat.gui / isEmptyDataObject

Function isEmptyDataObject

tests/jquery.js:1761–1769  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1759// property to be considered empty objects; this property always exists in
1760// order to make sure JSON.stringify does not expose internal metadata
1761function isEmptyDataObject( obj ) {
1762 for ( var name in obj ) {
1763 if ( name !== "toJSON" ) {
1764 return false;
1765 }
1766 }
1767
1768 return true;
1769}
1770
1771
1772

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…