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

Function encodeStringifiedCustom

lib/querystring.js:215–217  ·  view source on GitHub ↗

* @param {string | number | boolean | null} v * @param {(v: string) => string} encode * @returns {string}

(v, encode)

Source from the content-addressed store, hash-verified

213 * @returns {string}
214 */
215function encodeStringifiedCustom(v, encode) {
216 return encode(stringifyPrimitive(v));
217}
218
219/**
220 * @param {Record<string, string | number | boolean

Callers

nothing calls this directly

Calls 2

stringifyPrimitiveFunction · 0.85
encodeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…