MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getApiKey

Function getApiKey

web/lib/api/client.ts:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18function getApiKey(): string | undefined {
19 return typeof process !== "undefined"
20 ? process.env.NEXT_PUBLIC_API_KEY
21 : undefined;
22}
23
24function isAbortError(err: unknown): boolean {
25 return (

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected