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

Method isChildFunction

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

Source from the content-addressed store, hash-verified

1019 return this.astFunction(ast, retArr);
1020 }
1021 isChildFunction(ast) {
1022 for (let i = 0; i < this.functions.length; i++) {
1023 if (this.functions[i] === ast) {
1024 return true;
1025 }
1026 }
1027 return false;
1028 }
1029 astReturnStatement(ast, retArr) {
1030 return retArr;
1031 }

Callers 2

astFunctionExpressionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected