function findAll(eltOrSelector, selector) {
    if (typeof eltOrSelector !== 'string') {
      return eltOrSelector.querySelectorAll(selector)
    } else {
      return findAll(getDocument(), eltOrSelector)
    }
  }
Finds all elements matching the selector

@see https://htmx.org/api/#findAll

@param {ParentNode|string} eltOrSelector the root element to find the matching elements in, inclusive | the selector to match
@param {string} [selector] the selector to match
@returns {NodeListOf<Element>}