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

Function toTag

packages/container/src/util.ts:68–70  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

66
67/** Stringify a value for use as a span tag (tags must be strings). */
68export function toTag(value: unknown): string {
69 return String(value);
70}
71
72export function readString(value: unknown): string | undefined {
73 return typeof value === 'string' && value.length > 0 ? value : undefined;

Callers 5

buildAndPushImageFunction · 0.90
resolveImageHandlerFunction · 0.90
ensureRepositoryFunction · 0.90
logDiagnosticsFunction · 0.90
logDiagnosticsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected