MCPcopy Create free account
hub / github.com/microsoft/SandDance / isCollect

Function isCollect

docs/app/js/sanddance-app.js:146370–146372  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

146368 return canonicalType(type) === "operator";
146369}
146370function isCollect(type) {
146371 return canonicalType(type) === "collect";
146372}
146373function expression(ctx, args, code) {
146374 // wrap code in return statement if expression does not terminate
146375 if (code[code.length - 1] !== ";") code = "return(" + code + ");";

Callers 1

addFunction · 0.70

Calls 1

canonicalTypeFunction · 0.70

Tested by

no test coverage detected