MCPcopy Index your code
hub / github.com/sindresorhus/query-string / validateArrayFormatSeparator

Function validateArrayFormatSeparator

base.js:254–258  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

252}
253
254function validateArrayFormatSeparator(value) {
255 if (typeof value !== 'string' || value.length !== 1) {
256 throw new TypeError('arrayFormatSeparator must be single character string');
257 }
258}
259
260function encode(value, options) {
261 if (options.encode) {

Callers 2

parseFunction · 0.85
stringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…