MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / _endLoop

Method _endLoop

www/js/_hyperscript.js:7009–7016  ·  view source on GitHub ↗
(context, iteratorInfo)

Source from the content-addressed store, hash-verified

7007 return this.loop;
7008 }
7009 _endLoop(context, iteratorInfo) {
7010 var didIterate = iteratorInfo.didIterate;
7011 context.meta.iterators[this.slot] = null;
7012 if (!didIterate && this.elseBranch) {
7013 return this.elseBranch;
7014 }
7015 return context.meta.runtime.findNext(this.parent, context);
7016 }
7017 };
7018 var IfCommand = class _IfCommand extends Command {
7019 static keyword = "if";

Callers 1

resolveMethod · 0.45

Calls 1

findNextMethod · 0.45

Tested by

no test coverage detected