MCPcopy Create free account
hub / github.com/ljharb/qs / filter

Function filter

test/stringify.js:1260–1262  ·  view source on GitHub ↗
(prefix, value)

Source from the content-addressed store, hash-verified

1258
1259 t.test('strictNullHandling works with custom filter', function (st) {
1260 var filter = function (prefix, value) {
1261 return value;
1262 };
1263
1264 var options = { strictNullHandling: true, filter: filter };
1265 st.equal(qs.stringify({ key: null }, options), 'key');

Callers 2

stringifyFunction · 0.85
stringify.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected