MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / getFunctionRef

Function getFunctionRef

packages/cli/src/actions/pull/utils.ts:194–196  ·  view source on GitHub ↗
(name: string, services: ZModelServices)

Source from the content-addressed store, hash-verified

192}
193
194export function getFunctionRef(name: string, services: ZModelServices) {
195 return getDeclarationRef<FunctionDecl>('FunctionDecl', name, services);
196}
197
198/**
199 * Normalize a default value string for a Float field.

Callers 4

getDefaultValueFunction · 0.90
getDefaultValueFunction · 0.90
getDefaultValueFunction · 0.90
typeCastingConvertFunction · 0.90

Calls 1

getDeclarationRefFunction · 0.85

Tested by

no test coverage detected