MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / isArrayOrNodeList

Function isArrayOrNodeList

src/utils.js:307–312  ·  view source on GitHub ↗
(els)

Source from the content-addressed store, hash-verified

305}
306
307export function isArrayOrNodeList(els) {
308 if (els === null) {
309 return false;
310 }
311 return Array.isArray(els) || (canUseDOM && typeof els.length === 'number');
312}
313
314export function getTarget(target, allElements) {
315 const els = findDOMElements(target);

Callers 2

getTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…