MCPcopy Create free account
hub / github.com/deepnote/deepnote / isEnvVarRef

Function isEnvVarRef

packages/database-integrations/src/loading/env-var-refs.ts:32–34  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

30}
31
32export function isEnvVarRef(value: unknown): boolean {
33 return typeof value === 'string' && parseEnvVarRef(value) !== null
34}
35
36export function extractEnvVarName(value: unknown): string | null {
37 if (typeof value !== 'string') {

Callers 1

Calls 1

parseEnvVarRefFunction · 0.85

Tested by

no test coverage detected