MCPcopy Create free account
hub / github.com/sindresorhus/query-string / callback

Function callback

test/stringify.js:986–986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

984 for (const [message, arrayFormatSeparators] of Object.entries(invalid)) {
985 for (const arrayFormatSeparator of arrayFormatSeparators) {
986 const callback = () => queryString.stringify({foo: ['a', 'b']}, {arrayFormat: 'separator', arrayFormatSeparator});
987 assert.throws(callback, {name: 'TypeError', message});
988 }
989 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected