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

Function toDebugString

lib/test/angular/1.7.0/angular.js:2641–2650  ·  view source on GitHub ↗
(obj, maxDepth)

Source from the content-addressed store, hash-verified

2639}
2640
2641function toDebugString(obj, maxDepth) {
2642 if (typeof obj === 'function') {
2643 return obj.toString().replace(/ \{[\s\S]*$/, '');
2644 } else if (isUndefined(obj)) {
2645 return 'undefined';
2646 } else if (typeof obj !== 'string') {
2647 return serializeObject(obj, maxDepth);
2648 }
2649 return obj;
2650}
2651
2652/* global angularModule: true,
2653 version: true,

Callers 2

minErrFunction · 0.70
processChecksFunction · 0.70

Calls 2

isUndefinedFunction · 0.70
serializeObjectFunction · 0.70

Tested by

no test coverage detected