MCPcopy Create free account
hub / github.com/brianleroux/tiny-json-http / notplain

Function notplain

_write.js:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 // deep copy options if no buffers being passed in
10 let formopts = options.data || options.body
11 let notplain = k => typeof formopts[k] != 'string'
12 let basic = formopts && Object.keys(formopts).some(notplain) === false
13 if (basic) {
14 options = JSON.parse(JSON.stringify(options))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…