MCPcopy
hub / github.com/http-party/http-server / isDeclared

Function isDeclared

lib/core/opts.js:27–29  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

25 let handleOptionsMethod = defaults.handleOptionsMethod;
26
27 function isDeclared(k) {
28 return typeof opts[k] !== 'undefined' && opts[k] !== null;
29 }
30
31 function setHeader(str) {
32 const m = /^(.+?)\s*:\s*(.*)$/.exec(str);

Callers 1

opts.jsFile · 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…