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

Function isReference

apps/sim/executor/constants.ts:412–414  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

410}
411
412export function isReference(value: string): boolean {
413 return value.startsWith(REFERENCE.START) && value.endsWith(REFERENCE.END)
414}
415
416export function isEnvVarReference(value: string): boolean {
417 return value.startsWith(REFERENCE.ENV_VAR_START) && value.endsWith(REFERENCE.ENV_VAR_END)

Callers 8

buildSelectorContextFunction · 0.90
useSelectorSetupFunction · 0.90
canResolveMethod · 0.90
canResolveMethod · 0.90
canResolveMethod · 0.90
canResolveMethod · 0.90
useSelectorOptionDetailFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected