MCPcopy Create free account
hub / github.com/glslify/glslify / isCallExpression

Function isCallExpression

transform.js:287–291  ·  view source on GitHub ↗
(node, glvar)

Source from the content-addressed store, hash-verified

285}
286
287function isCallExpression (node, glvar) {
288 return node.type === 'Identifier'
289 && node.name === glvar
290 && node.parent.type === 'CallExpression'
291}
292
293function isTagExpression (node, glvar) {
294 return node.type === 'TaggedTemplateExpression'

Callers 1

onnodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…