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

Function isValidHeaderValue

packages/cli/src/util/dev/transforms.ts:202–204  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

200}
201
202function isValidHeaderValue(value: string): boolean {
203 return value.length > 0 && HEADER_VALUE_RE.test(value);
204}
205
206function hasValidHeaderArgs(args: string | string[] | undefined): boolean {
207 if (typeof args === 'string') {

Callers 1

hasValidHeaderArgsFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected