MCPcopy Create free account
hub / github.com/vuetifyjs/vuetify / isCreateElementCall

Function isCreateElementCall

scripts/rules/no-render-string-reference.js:5–13  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3]
4
5function isCreateElementCall (node) {
6 return (
7 (node.callee.type === 'Identifier' &&
8 node.callee.name === 'h') ||
9 (node.callee.type === 'MemberExpression' &&
10 node.callee.object.type === 'ThisExpression' &&
11 node.callee.property.name === '$createElement')
12 )
13}
14
15function isStringRender (node) {
16 return node.arguments[0] &&

Callers 1

CallExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected