Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vuetifyjs/vuetify
/ isStringRender
Function
isStringRender
scripts/rules/no-render-string-reference.js:15–19 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
13
}
14
15
function
isStringRender (node) {
16
return
node.arguments[0] &&
17
node.arguments[0].
type
===
'Literal'
&&
18
typeof node.arguments[0].value ===
'string'
19
}
20
21
function
isCustomComponent (node) {
22
return
node.arguments[0] &&
Callers
1
CallExpression
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected