MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / maybeexpression

Function maybeexpression

static/libs/javascript.js:451–454  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

449 return cont();
450 }
451 function maybeexpression(type) {
452 if (type.match(/[;\}\)\],]/)) return pass();
453 return pass(expression);
454 }
455
456 function maybeoperatorComma(type, value) {
457 if (type == ",") return cont(maybeexpression);

Callers

nothing calls this directly

Calls 1

passFunction · 0.70

Tested by

no test coverage detected