docs: function deepMatches(target, pattern){
          if (target && typeof target === 'object') {
              if (isArray(target) && isArray(pattern)) {
                  return matchArray(target, pattern);
              } else {
                  return matchObject(target, pattern);
              }
          } else {
              return target === pattern;
          }
      }