(element, matchFunction)
| 23751 | */ parcelHelpers.export(exports, "findElementRecursive", ()=>findElementRecursive); |
| 23752 | var _getParent = require("./getParent"); |
| 23753 | function findElementRecursive(element, matchFunction) { |
| 23754 | if (!element || element === document.body) return null; |
| 23755 | return matchFunction(element) ? element : findElementRecursive((0, _getParent.getParent)(element), matchFunction); |
| 23756 | } |
| 23757 | |
| 23758 | },{"./getParent":"gp02N","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"6Mnks":[function(require,module,exports) { |
| 23759 | var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); |
nothing calls this directly
no outgoing calls
no test coverage detected