MCPcopy Index your code
hub / github.com/nodejs/node / serializeValue

Function serializeValue

lib/internal/test_runner/snapshot.js:276–285  ·  view source on GitHub ↗
(value, serializers)

Source from the content-addressed store, hash-verified

274}
275
276function serializeValue(value, serializers) {
277 let v = value;
278
279 for (let i = 0; i < serializers.length; ++i) {
280 const fn = serializers[i];
281 v = fn(v);
282 }
283
284 return v;
285}
286
287function validateFunctionArray(fns, name) {
288 validateArray(fns, name);

Callers 2

serializeMethod · 0.85

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…