MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / toDebugString

Function toDebugString

OpenReservation/wwwroot/Scripts/angular.js:2290–2299  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

2288 }
2289
2290 function toDebugString(obj) {
2291 if (typeof obj === 'function') {
2292 return obj.toString().replace(/ \{[\s\S]*$/, '');
2293 } else if (isUndefined(obj)) {
2294 return 'undefined';
2295 } else if (typeof obj !== 'string') {
2296 return serializeObject(obj);
2297 }
2298 return obj;
2299 }
2300
2301 /* global angularModule: true,
2302 version: true,

Callers 1

minErrFunction · 0.85

Calls 2

isUndefinedFunction · 0.85
serializeObjectFunction · 0.85

Tested by

no test coverage detected