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

Function readString

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

Source from the content-addressed store, hash-verified

70}
71
72export function readString(value: unknown): string | undefined {
73 return typeof value === 'string' && value.length > 0 ? value : undefined;
74}
75
76/**
77 * Whether a path/entrypoint names a Dockerfile that this builder should build.

Callers 15

resolveImageTagFunction · 0.90
buildAndPushImageFunction · 0.90
resolveImageHandlerFunction · 0.90
resolveProjectContextFunction · 0.90
mintProjectOidcTokenFunction · 0.90
resolveOidcTokenForBuildFunction · 0.90
selectStorageDriverFunction · 0.90
ensureRepositoryFunction · 0.90
resolveDevImageFunction · 0.90
pushFunction · 0.90
selectContainerEngineFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected