MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #isArrayLike

Method #isArrayLike

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

Source from the content-addressed store, hash-verified

543 // =================================================================
544
545 #isArrayLike(value) {
546 return Array.isArray(value) ||
547 (typeof NodeList !== 'undefined' && (value instanceof NodeList || value instanceof HTMLCollection || value instanceof FileList));
548 }
549
550 #isIterable(value) {
551 return typeof value === 'object'

Callers 2

shouldAutoIterateMethod · 0.95
forEachMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected