MCPcopy
hub / github.com/HenrikJoreteg/hjs-webpack / checkRequired

Function checkRequired

index.js:174–179  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

172}
173
174function checkRequired (opts) {
175 var props = ['out', 'in']
176 if (!opts || !props.every(function (prop) { return opts.hasOwnProperty(prop) })) {
177 throw new Error('Must pass in options object with `in` and `out` properties')
178 }
179}

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected