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

Method isSafe

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

Source from the content-addressed store, hash-verified

663 }
664
665 isSafe(ast) {
666 return this.isSafeDependencies(this.getDependencies(ast));
667 }
668
669 isSafeDependencies(dependencies) {
670 return dependencies && dependencies.every ? dependencies.every(dependency => dependency.isSafe) : true;

Callers 2

astForStatementMethod · 0.80
astForStatementMethod · 0.80

Calls 2

isSafeDependenciesMethod · 0.95
getDependenciesMethod · 0.95

Tested by

no test coverage detected