MCPcopy Index your code
hub / github.com/simstudioai/sim / extractEnvVarName

Function extractEnvVarName

apps/sim/executor/constants.ts:420–425  ·  view source on GitHub ↗
(reference: string)

Source from the content-addressed store, hash-verified

418}
419
420export function extractEnvVarName(reference: string): string {
421 return reference.substring(
422 REFERENCE.ENV_VAR_START.length,
423 reference.length - REFERENCE.ENV_VAR_END.length
424 )
425}
426
427export function extractReferenceContent(reference: string): string {
428 return reference.substring(REFERENCE.START.length, reference.length - REFERENCE.END.length)

Callers 3

useSelectorSetupFunction · 0.90
resolveMethod · 0.90
useSelectorOptionDetailFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected