MCPcopy Index your code
hub / github.com/gpujs/gpu.js / isAstVariable

Method isAstVariable

src/backend/function-node.js:661–663  ·  view source on GitHub ↗
(ast)

Source from the content-addressed store, hash-verified

659 }
660
661 isAstVariable(ast) {
662 return ast.type === 'Identifier' || ast.type === 'MemberExpression';
663 }
664
665 isSafe(ast) {
666 return this.isSafeDependencies(this.getDependencies(ast));

Callers 2

getTypeMethod · 0.95
getVariableSignatureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected