MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / pickString

Function pickString

packages/cli/src/auth/client.ts:218–221  ·  view source on GitHub ↗
(obj: Record<string, unknown>, key: string)

Source from the content-addressed store, hash-verified

216}
217
218function pickString(obj: Record<string, unknown>, key: string): string | undefined {
219 const v = obj[key];
220 return typeof v === "string" ? v : undefined;
221}
222
223function pickObject(
224 obj: Record<string, unknown>,

Callers 1

extractUserInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected