MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / toDebugString

Function toDebugString

lib/test/angular/1.6.7/angular.js:2666–2675  ·  view source on GitHub ↗
(obj, maxDepth)

Source from the content-addressed store, hash-verified

2664}
2665
2666function toDebugString(obj, maxDepth) {
2667 if (typeof obj === 'function') {
2668 return obj.toString().replace(/ \{[\s\S]*$/, '');
2669 } else if (isUndefined(obj)) {
2670 return 'undefined';
2671 } else if (typeof obj !== 'string') {
2672 return serializeObject(obj, maxDepth);
2673 }
2674 return obj;
2675}
2676
2677/* global angularModule: true,
2678 version: true,

Callers 2

minErrFunction · 0.70
processChecksFunction · 0.70

Calls 2

isUndefinedFunction · 0.70
serializeObjectFunction · 0.70

Tested by

no test coverage detected