docs: function (valueSelector, matcher, isRoot) {
    if (_.isRegExp(valueSelector)) {
      matcher._isSimple = false;
      return convertElementMatcherToBranchedMatcher(
        regexpElementMatcher(valueSelector));
    } else if (isOperatorObject(valueSelector)) {
      return operatorBranchedMatcher(valueSelector, matcher, isRoot);
    } else {
      return convertElementMatcherToBranchedMatcher(
        equalityElementMatcher(valueSelector));
    }
  }