code: function elementMatches (el, selectorString) {
    const node = el && findDOMNode(el)
    if (!node) return false
    return node.matches ? node.matches(selectorString) : node.msMatchesSelector(selectorString)
  }
docs: ---
  category: utilities/DOM
  ---
  
  Polyfill for Element.matches (https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)
  
  @param {ReactComponent|DomNode} el - component or DOM node
  @param {String} selectorString - a string representing the selector to test
  @returns {boolean} if the element would be selected by the specified selector string