MCPcopy Index your code
hub / github.com/nodejs/corepack / isUsageError

Function isUsageError

sources/main.ts:41–43  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

39}
40
41function isUsageError(error: any): error is UsageError {
42 return error?.name === `UsageError`;
43}
44
45export async function runMain(argv: Array<string>) {
46 const engine = new Engine();

Callers 1

runMainFunction · 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…