MCPcopy Index your code
hub / github.com/JsAaron/jQuery / isEmptyDataObject

Function isEmptyDataObject

1.6.1/src/data.js:315–323  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

313// property to be considered empty objects; this property always exists in
314// order to make sure JSON.stringify does not expose internal metadata
315function isEmptyDataObject( obj ) {
316 for ( var name in obj ) {
317 if ( name !== "toJSON" ) {
318 return false;
319 }
320 }
321
322 return true;
323}
324
325})( jQuery );

Callers 1

data.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected