MCPcopy
hub / github.com/webpack/webpack / conditionallyOptimistic

Function conditionallyOptimistic

lib/config/defaults.js:1505–1505  ·  view source on GitHub ↗
(v, c)

Source from the content-addressed store, hash-verified

1503 * @returns {boolean | undefined} true, when v is truthy or undefined, or c is truthy
1504 */
1505 const conditionallyOptimistic = (v, c) => (v === undefined && c) || v;
1506
1507 F(
1508 environment,

Callers 1

applyOutputDefaultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected