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

Function toDebugString

lib/test/angular/1.5.0/angular.js:2303–2312  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

2301}
2302
2303function toDebugString(obj) {
2304 if (typeof obj === 'function') {
2305 return obj.toString().replace(/ \{[\s\S]*$/, '');
2306 } else if (isUndefined(obj)) {
2307 return 'undefined';
2308 } else if (typeof obj !== 'string') {
2309 return serializeObject(obj);
2310 }
2311 return obj;
2312}
2313
2314/* global angularModule: true,
2315 version: true,

Callers 1

minErrFunction · 0.70

Calls 2

isUndefinedFunction · 0.70
serializeObjectFunction · 0.70

Tested by

no test coverage detected