MCPcopy 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
15function isStringRender (node) {
16 return node.arguments[0] &&
17 node.arguments[0].type === 'Literal' &&
18 typeof node.arguments[0].value === 'string'
19}
20
21function isCustomComponent (node) {
22 return node.arguments[0] &&

Callers 1

CallExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected