MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / shouldAutoIterate

Method shouldAutoIterate

src/core/runtime/runtime.js:556–558  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

554 }
555
556 shouldAutoIterate(value) {
557 return (value != null && value[SHOULD_AUTO_ITERATE_SYM]) || this.#isArrayLike(value);
558 }
559
560 forEach(value, func) {
561 if (value == null) {

Callers 4

#flatGetMethod · 0.95
implicitLoopMethod · 0.95
doesExistMethod · 0.95
resolveMethod · 0.45

Calls 1

#isArrayLikeMethod · 0.95

Tested by

no test coverage detected