MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / #isArrayLike

Method #isArrayLike

tools/common/_hyperscript.iife.js:2537–2539  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

2535 // Collection and iteration utilities
2536 // =================================================================
2537 #isArrayLike(value) {
2538 return Array.isArray(value) || typeof NodeList !== "undefined" && (value instanceof NodeList || value instanceof HTMLCollection || value instanceof FileList);
2539 }
2540 #isIterable(value) {
2541 return typeof value === "object" && Symbol.iterator in value && typeof value[Symbol.iterator] === "function";
2542 }

Callers 2

shouldAutoIterateMethod · 0.95
forEachMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected