MCPcopy
hub / github.com/vuejs/core / isStaticArgOf

Function isStaticArgOf

packages/compiler-core/src/utils.ts:323–328  ·  view source on GitHub ↗
(
  arg: DirectiveNode['arg'],
  name: string,
)

Source from the content-addressed store, hash-verified

321}
322
323export function isStaticArgOf(
324 arg: DirectiveNode['arg'],
325 name: string,
326): boolean {
327 return !!(arg && isStaticExp(arg) && arg.content === name)
328}
329
330export function hasDynamicKeyVBind(node: ElementNode): boolean {
331 return node.props.some(

Callers 7

checkDuplicatedValueFunction · 0.90
walkFunction · 0.90
isComponentFunction · 0.90
processSlotOutletFunction · 0.90
buildPropsFunction · 0.90
isTextareaWithValueFunction · 0.85
findPropFunction · 0.85

Calls 1

isStaticExpFunction · 0.85

Tested by

no test coverage detected