MCPcopy Create free account
hub / github.com/vercel/vercel / isEmptyArgs

Function isEmptyArgs

packages/cli/src/util/dev/transforms.ts:461–465  ·  view source on GitHub ↗
(args: string | string[] | undefined)

Source from the content-addressed store, hash-verified

459}
460
461function isEmptyArgs(args: string | string[] | undefined): boolean {
462 if (args == null) return true;
463 if (typeof args === 'string') return args === '';
464 return args.length === 0;
465}

Callers 2

opSetFunction · 0.85
opAppendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected