MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / serializeValue

Function serializeValue

web/static/bower_components/angular/angular.js:9289–9294  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

9287};
9288
9289function serializeValue(v) {
9290 if (isObject(v)) {
9291 return isDate(v) ? v.toISOString() : toJson(v);
9292 }
9293 return v;
9294}
9295
9296
9297function $HttpParamSerializerProvider() {

Callers 2

serializeFunction · 0.85

Calls 3

isObjectFunction · 0.85
isDateFunction · 0.85
toJsonFunction · 0.85

Tested by

no test coverage detected