MCPcopy Create free account
hub / github.com/openai/openai-node / filter

Function filter

tests/qs/stringify.test.ts:1933–1935  ·  view source on GitHub ↗
(_prefix, value)

Source from the content-addressed store, hash-verified

1931 test('strictNullHandling works with custom filter', function () {
1932 // @ts-expect-error
1933 var filter = function (_prefix, value) {
1934 return value;
1935 };
1936
1937 var options = { strictNullHandling: true, filter: filter };
1938 // st.equal(stringify({ key: null }, options), 'key');

Callers 2

inner_stringifyFunction · 0.85
stringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected