MCPcopy Create free account
hub / github.com/webpack/webpack-cli / isObject

Method isObject

packages/webpack-cli/src/webpack-cli.ts:3040–3041  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

3038 }
3039
3040 const isObject = (value: unknown): value is object =>
3041 typeof value === "object" && value !== null;
3042
3043 if (!isObject(options) && !Array.isArray(options)) {
3044 this.logger.error(`Invalid configuration in '${configPath}'`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected