Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ isLiteralNode
Function
isLiteralNode
packages/compiler-sfc/src/script/utils.ts:37–39 ·
view source on GitHub ↗
(node: Node)
Source
from the content-addressed store, hash-verified
35
}
36
37
export
function
isLiteralNode(node: Node): boolean {
38
return
node.
type
.endsWith(
'Literal'
)
39
}
40
41
export
function
isCallOf(
42
node: Node | null | undefined,
Callers
2
canNeverBeRef
Function · 0.90
genDestructuredDefaultValue
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected