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

Function stringify

lib/test/angular/1.4.3/angular.js:10681–10696  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

10679 }
10680
10681 function stringify(value) {
10682 if (value == null) { // null || undefined
10683 return '';
10684 }
10685 switch (typeof value) {
10686 case 'string':
10687 break;
10688 case 'number':
10689 value = '' + value;
10690 break;
10691 default:
10692 value = toJson(value);
10693 }
10694
10695 return value;
10696 }
10697
10698 /**
10699 * @ngdoc service

Callers 1

Calls 1

toJsonFunction · 0.70

Tested by

no test coverage detected