function find(eltOrSelector, selector) {
    if (typeof eltOrSelector !== 'string') {
      return eltOrSelector.querySelector(selector)
    } else {
      return find(getDocument(), eltOrSelector)
    }
  }
Finds an element matching the selector

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

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