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

Function toDebugString

test/angular/1.5/angular.js:2448–2457  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

2446}
2447
2448function toDebugString(obj) {
2449 if (typeof obj === 'function') {
2450 return obj.toString().replace(/ \{[\s\S]*$/, '');
2451 } else if (isUndefined(obj)) {
2452 return 'undefined';
2453 } else if (typeof obj !== 'string') {
2454 return serializeObject(obj);
2455 }
2456 return obj;
2457}
2458
2459/* global angularModule: true,
2460 version: true,

Callers 1

minErrFunction · 0.70

Calls 2

isUndefinedFunction · 0.70
serializeObjectFunction · 0.70

Tested by

no test coverage detected