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

Function isTagExpression

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

Source from the content-addressed store, hash-verified

291}
292
293function isTagExpression (node, glvar) {
294 return node.type === 'TaggedTemplateExpression'
295 && node.tag.name === glvar
296}
297
298function isCallFile (node, glvar) {
299 return node.type === 'Identifier' && node.name === glvar

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…