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

Method isOption

packages/webpack-cli/src/webpack-cli.ts:1386–1386  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1384 program: Command,
1385 ) {
1386 const isOption = (value: string): boolean => value.startsWith("-");
1387 const isGlobalOption = (value: string) =>
1388 value === "--color" ||
1389 value === "--no-color" ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected